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

[BUG] Tool not getting invoked in agent flow when using Amazon Nova, but it works with Claude #3700

Open
inno-elon opened this issue Dec 13, 2024 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@inno-elon
Copy link

Describe the bug
Tool not getting invoked in agent flow when using Amazon Nova, but it works with Claude

To Reproduce
In a sequential agent flow, use Nova in a Bedrock node, attach a tool, and ask it to search the web for something. Try it with claude and you'll see that it works.

Expected behavior
Tool should be invoked (ie: Exa search)

Flow

Additional context

The tool gets passed, but it will never invoke the tool. In a chat flow with ConversationalAgent, Nova works. I believe that's because of the way it manages memory and also because some langchainjs code is copy/pasted into that file (constructScratchPad). In langchain, it appears that only claude models will invoke tools when using the bind_tools method.

@HenryHengZJ HenryHengZJ added bug Something isn't working enhancement New feature or request labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants