microsoft / microsoft/vscode

Add a mechanism to prevent infinite loops for Agent

Open
#332,151 0 comments 0 reactions 1 assignee Claimed by @roblourens View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

When some models lack sufficient capability, the agent may infinitely loop through a single task (e.g., executing a shell script).

We hope to add a mechanism to the agent to detect the N most recent duplicate tasks (or recurring loops of responses from LLM endpoints)

and to stop the loop.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.