microsoft / microsoft/semantic-kernel
Limit Agent Retry in group chat
Open
@sphenry is already working on this.
Since Feb 21, 2025.
agents
- Dominant language
- C#
- Stars
- 28.6k
- Forks
- 4.8k
- Avg merge
- 14h 13m
- Merged PRs (30d)
- 18
Description
name: Limit Agent Retry in group chat
about: In our group chat scenario, we’ve observed that when an agent encounters an error, it retries multiple times before failing completely. This can lead to high usage of tokens. We tried with the ‘MaximumIterations’ value in termination strategy. But seems like the value is for group chat not for a single agent. Is there any configuration or mechanism available to set a limit on the number of retries for an agent in such scenarios?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.