aws-samples / bedrock-claude-chat

AWS-native chatbot using Bedrock + Claude (+Mistral)
MIT No Attribution
928 stars 328 forks source link

[BUG] API cannot access tools if they are added after the API is published #518

Closed CallumCPP closed 2 months ago

CallumCPP commented 2 months ago

Describe the bug

When developing a tool for use with the API the API must first be deleted and republished before the agent can use the tools. I understand this may not be a simple / viable fix at all but thought you may want to be aware.

To Reproduce

  1. Create a bot
  2. Publish an API
  3. Develop a tool and deploy
  4. Enable tool for bot
  5. Access bot through api
  6. No response