Skip to content

.NET: [Issue]: NET: Agent run stops with finish_reason = "tool_calls" #3113

Description

@codehunter13

Language

.NET

Type of Issue

Bug

Microsoft.Agents.AI

No response

Microsoft.Agents.AI.Abstractions

No response

Microsoft.Agents.AI.OpenAI

No response

Microsoft.Agents.AI.AzureAI

No response

Microsoft.Agents.AI.Anthropic

No response

Microsoft.Agents.AI.Hosting

No response

Microsoft.Agents.AI.Workflows

No response

Other .NET Packages

No response

agent-framework-core

No response

agent-framework-azure-ai

No response

agent-framework-anthropic

No response

agent-framework-azurefunctions

No response

Other Python Packages

No response

Description

Sometimes and i think it's always when the agent is using a lot of mcp tool calls, the agent run stops with finish_reason "tool_calls". Don's see any exception when this happens.

Regards,
Glenn

Code Sample

Additional Context

No response

Metadata

Metadata

Labels

.NETUsage: [Issues, PRs], Target: .NetbugUsage: [Issues], Target: all issues (Legacy, prefer issue type: bug)

Type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions