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: openapi revamp: fix incorrect error message when JSON args are invalid #844

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

g-linville
Copy link
Member

Returning false here meant that the operation was not found (which is incorrect; it is found if we made it to this point in the code), and that was the error that would then be presented to the LLM, which is not what we want.

@g-linville g-linville merged commit dbf46d1 into gptscript-ai:main Sep 9, 2024
10 checks passed
@g-linville g-linville deleted the openapi-fix branch September 9, 2024 15:12
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