-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[computer use] replace spaces in api_key when starting loop #90
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Zak Lee <[email protected]>
I can still reproduce #85 after your fix (yes, I applied your fix and did the build locally). I also experimented with disabling the cache prompt and increasing My hunch is either malformation of Stack trace:
|
this addresses #85.
it would seem that if multiple users have already encountered this, maybe the propensity to copy-paste with a trailing space is common enough to address.
maybe not the most graceful solution, just replaces all spaces when the
sampling_loop
begins.prior to the fix, here's the error when i use an API key with a trailing space:
after the fix, no problem, even with a trailing space: