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

Amazon Bedrock Agent Samples - Sports Team Poet Agent throwing exception at inference time #36

Open
gmansilla opened this issue Feb 6, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@gmansilla
Copy link

gmansilla commented Feb 6, 2025

Describe the bug
A clear and concise description of what the bug is. This could be anything from:

I'm trying to use Sonnet for this sample and getting errors when running the agent

To Reproduce
Steps to reproduce the behavior (or some version of this):

  1. Open bedrock_agent.py and set models as shown bellow

`
DEFAULT_AGENT_MODEL = "anthropic.claude-3-sonnet-20240229-v1:0"

DEFAULT_SUPERVISOR_MODEL = "anthropic.claude-3-sonnet-20240229-v1:0"
`

  1. Recreate

python3 examples/multi_agent_collaboration/team_poems_agent/main.py \ --recreate_agents "true"

  1. Invoke

examples/multi_agent_collaboration/team_poems_agent/main.py \ --recreate_agents "false" \ --team_name "New England Patriots"

  1. See error in screenshot

Expected behavior
Agent to return invoke results or fail gracefuly

Screenshots

Image

! Additional context !

  • Changed default models as mentioned in step 1
@gmansilla gmansilla added the bug Something isn't working label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant