Skip to content

fix: use entire env for credential prompting #441

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 5, 2024

Conversation

thedadams
Copy link
Contributor

If the URL and token environment variable are set outside gptscript, then the credential prompting tool needs those variables. In this case, the extraEnv is nil and doesn't allow prompting to work.

Additionally, the credential context default is needed when completing the opts for the SDK server.

If the URL and token environment variable are set outside gptscript,
then the credential prompting tool needs those variables. In this case,
the extraEnv is nil and doesn't allow prompting to work.

Additionally, the credential context default is needed when completing
the opts for the SDK server.

Signed-off-by: Donnie Adams <[email protected]>
@thedadams thedadams merged commit f0c06e0 into gptscript-ai:main Jun 5, 2024
2 checks passed
@thedadams thedadams deleted the set-prompt-env branch June 5, 2024 15:16
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