Skip to content

Large tool results lead to looping #9718

@roblourens

Description

@roblourens

Thanks for looking into it- Is the MCP tool output really large? This could still happen in that case, and if you saw it in 1.99, that's likely.

You could also check the Copilot Chat output channel, and see whether there are any errors or "400"

I hard-limited the MCP tool's output instead of letting copilot choose the limit, and that fixed the issue on the insiders version.

If copilot had simply caught the issue and told me that the context was too long to work with and that I needed to alter my approach instead of retrying over and over again, I never would have filed this bug report. Maybe that would be a good solution?

Originally posted by @oenic in #9507

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugchat-agentIssue with the Agent mode in ChatverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions