.Net Agents - History Management Consistency: ChatCompletionAgent
#8856
Labels
agents
enhancement
experimental
Associated with an experimental feature
.NET
Issue or Pull requests regarding .NET code
sk team issue
A tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)
The direction invocation (no chat) case for
ChatCompletionAgent
requires the user to manually update theChatHistory
with the agent response. This isn't required for the streaming case or any usage ofOpenAIAssistantAgent
.Even worse, the
Termination
scenario forIAutoFunctionInvocationFilter
and manual function calling cases require complex, non discoverable logic to avoid introducing invalid changes to theChatHistory
.Having
ChatCompletionAgent.InvokeAsync
fully manage the history not only is consistent with the rest of the Agent Framework, it solves this advance, non-discoverable cases.The text was updated successfully, but these errors were encountered: