microsoft / microsoft/semantic-kernel

Limit Agent Retry in group chat

Open
#10,401 3 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.