Skip to content

Conversation

g-linville
Copy link
Member

The recent refactoring of credential helpers to be run as tools resulted in a bug where the output of the credential tool (which would become part of the error message) would have things appended to it like :\n exit status 1, which was messing up the detection of Not Found errors. I fixed this in this PR by implementing our own function to examine the error message. I wish I could have used the defined const for this from the Docker package that we depend on, but it is unexported.

Signed-off-by: Grant Linville <grant@acorn.io>
@g-linville g-linville merged commit 53a6ae0 into gptscript-ai:main Nov 6, 2024
10 checks passed
@g-linville g-linville deleted the fix-credential-errors branch November 6, 2024 17:53
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.

4 participants