Skip to content

"Max iterations exceeded" - startup_advisor_agent [Bug] #125

@tloth-phx

Description

@tloth-phx

Describe the bug
It appears no single agent is allowed more than 7 consecutive loops / steps and errors out. Sounds like this is a Bedrock "feature" - https://www.perplexity.ai/search/i-am-testing-a-bedrock-agent-a-ZJ9KLKwTSpKdwL_TLhSZaA

Is there a way to design around this constraint?

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

  1. I followed the steps here - https://github.com/awslabs/amazon-bedrock-agent-samples/blob/main/examples/multi_agent_collaboration/startup_advisor_agent/README.md
  2. python3 examples/multi_agent_collaboration/startup_advisor_agent/main.py
    --recreate_agents "false"
    --web_domain "flyingCars.com"
    --project "FlyingCars wants to be the leading supplier of flying cars. The project is to build an innovative marketing strategy to showcase FlyingCars' advancedofferings, emphasizing ease of use, cost effectiveness, productivity, and safety. Target high net worth individuals, highlighting success stories and transformative
    potential. Be sure to include a draft for a video ad."

Expected behavior
Successful completion

Screenshots

Image

! Additional context !
Full console output attached. The max iteration issues start in step 8.

full_output.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions