Skip to content

Conversation

g-linville
Copy link
Member

This PR does two things in the OpenAPI revamp:

  • When the LLM provides arguments that do not match the JSONSchema, rather than exiting with an error, the validation errors are returned as a normal message to the LLM so that it can respond by trying again.
  • The confirmation prompt shown to the user when running an OpenAPI operation under the OpenAPI revamp is improved to provide details about the specific operation and arguments.

@g-linville g-linville merged commit 1226edb into gptscript-ai:main Aug 19, 2024
10 checks passed
@g-linville g-linville deleted the openapi-validation-errors branch August 19, 2024 17:18
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