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

Minor database tool improvements #591

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

mattlindsey
Copy link
Contributor

Improves performance of db tool with 2 updates:

  • list_tables returns a simple comma-separated list instead of an array of symbols since llms were interpreting the : at the start of each symbol as part of the table name.
  • execute returns e.message when there's an exception, which helps llms retry when a query doesn't work
    Tested with both openai and google gemini PR.

Fixes #432

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.

Handling of tool errors (e.g. Database)
1 participant