Skip to content

[Agent] Support limiting iteration loop when tool calling #1376

@aszenz

Description

@aszenz

LLMs can spiral into loops of repeated tool calls, it would be nice to have a fixed set of tries that we pass to the agent, and if it can't end before that we throw an exception

Metadata

Metadata

Assignees

No one assigned

    Labels

    AgentIssues & PRs about the AI Agent componentFeatureNew featureGood first issueIdeal for your first contribution! (some Symfony experience may be required)RFCRFC = Request For Comments (proposals about features that you want to be discussed)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions