Skip to content

fix: make the WorkspacePath take absolute precedence for setting env var #575

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

thedadams
Copy link
Contributor

Before this change, the environment variables would take precedence for setting the GPTSCRIPT_WORKSPACE_DIR. This is incorrect because gptscript should be solely responsible for setting these environment variables. Putting these environment variables at the end of the list ensures that they take precedence.

Before this change, the environment variables would take precedence for
setting the GPTSCRIPT_WORKSPACE_DIR. This is incorrect because gptscript
should be solely responsible for setting these environment variables.
Putting these environment variables at the end of the list ensures that
they take precedence.

Co-authored-by: tylerslaton <[email protected]>
Signed-off-by: Donnie Adams <[email protected]>
@thedadams thedadams merged commit a356d09 into gptscript-ai:main Jun 28, 2024
8 checks passed
@thedadams thedadams deleted the workspace-env-prec branch June 28, 2024 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants