Skip to content

Python: .Net: The Agent with ChatCompletion using GPT-5 on groupChat.InvokeStreamingAsync is not completing the tasks - abruptly stopping after few function calls. #13006

@karthiksimplist

Description

@karthiksimplist

The Agent with ChatCompletion using GPT-5 on groupChat.InvokeStreamingAsync is not completing the tasks - abruptly stopping after few function calls.

The same agent works fine when I just change it to other models like GPT-4.1.

With GPT-5 its consistently reproducible, My agent typically run a task which has to make few tool calls and gives a final response. In the case of GPT-5 it just stops after few tool calls and ends the stream without any errors.

I've verified for any possible termination, max turns, etc. - none of these caused this exit.

I am using Semantic Kernel .NET 1.62.0

Metadata

Metadata

Labels

.NETIssue or Pull requests regarding .NET codeagentsfunction_callingkernelIssues or pull requests impacting the core kernelmulti-agentIssues for multi-agent orchestrationpythonPull requests for the Python Semantic Kernel

Type

No type

Projects

Status

Sprint: In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions