You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AGS UI currently supports text message term and max message term.
In reality, AgentChat supports much more.
This PR is to track work on ensuring parity across agentchat and ags UI
Fixesmicrosoft#6163
Added support for a broader range of termination conditions in AGS UI to ensure parity with AgentChat
* **Abstractions/Termination.cs**: Add new termination conditions `FunctionCallTermination`, `HandoffTermination`, `TokenUsageTermination`, `SourceMatchTermination`, `TextMentionTermination`, and `StopMessageTermination` to the `ITerminationCondition` interface. Update the `CombinerCondition` class to support the new termination conditions.
* **Terminations/ExternalTermination.cs**: Update the `ExternalTermination` class to support the new termination conditions.
* **Terminations/FunctionCallTermination.cs**: Update the `FunctionCallTermination` class to support the new termination conditions.
* **Terminations/HandoffTermination.cs**: Update the `HandoffTermination` class to support the new termination conditions.
* **Terminations/TokenUsageTermination.cs**: Update the `TokenUsageTermination` class to support the new termination conditions.
* **Terminations/SourceMatchTermination.cs**: Update the `SourceMatchTermination` class to support the new termination conditions.
* **Terminations/TextMentionTermination.cs**: Update the `TextMentionTermination` class to support the new termination conditions.
* **Terminations/StopMessageTermination.cs**: Update the `StopMessageTermination` class to support the new termination conditions.
* **Tests/TerminationConditionTests.cs**: Add unit tests for the new termination conditions in the `TerminationConditionTests` class.
AGS UI currently supports text message term and max message term.
In reality, AgentChat supports much more.
This PR is to track work on ensuring parity across agentchat and ags UI
cc @ekzhu
The text was updated successfully, but these errors were encountered: