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 ZeroShotAgent createPrompt with correct formatted tool names #7510

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thu2004
Copy link

@thu2004 thu2004 commented Jan 13, 2025

Fix ZeroShotAgent createPrompt with correct formatted tool names

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jan 13, 2025
Copy link

vercel bot commented Jan 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchainjs-docs ✅ Ready (Inspect) Visit Preview Jan 13, 2025 9:43am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchainjs-api-refs ⬜️ Ignored (Inspect) Jan 13, 2025 9:43am

@dosubot dosubot bot added the auto:bug Related to a bug, vulnerability, unexpected error with an existing feature label Jan 13, 2025
@thu2004
Copy link
Author

thu2004 commented Jan 13, 2025

Screenshot 2025-01-13 at 10 31 32
Here is where I discovered the issue. Instead of

Action: the action to take, should be one of [["query-sql","info-sql","list-tables-sql","query-checker"]] , 

it should be

Action: the action to take, should be one of ["query-sql","info-sql","list-tables-sql","query-checker"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:bug Related to a bug, vulnerability, unexpected error with an existing feature size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant