Skip to content
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

fix: sdkserver: credentials: ensure credential helpers exist #848

Merged

Conversation

g-linville
Copy link
Member

@g-linville g-linville commented Sep 13, 2024

The SDKServer was assuming that credential helpers were already present, which causes problems when they aren't there.

@@ -108,6 +109,7 @@ func run(ctx context.Context, listener net.Listener, opts Options) error {
token: token,
client: g,
events: events,
runtimeManager: runtimes.Default(opts.Options.Cache.CacheDir), // TODO - do we always want to use runtimes.Default here?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like how you have moved the comment :)

@StrongMonkey
Copy link
Contributor

Always good to add a small description about the PR to have more contex

Copy link
Contributor

@StrongMonkey StrongMonkey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, please add some description to the PR 👍

@g-linville g-linville merged commit 45d444f into gptscript-ai:main Sep 13, 2024
10 checks passed
@g-linville g-linville deleted the sdkserver-ensure-credential-helpers branch September 13, 2024 21:30
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