chaitin / chaitin/MonkeyCode

Ai keeps thinking in a loop

Open
#1,089 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
4.7k
Forks
719
Avg merge
4h 30m
Merged PRs (30d)
83

Description

Feedback title: Ai keeps thinking in a loop

Feedback details: The agent keeps going throught the same thoughts over and over. Specific example : After completing an audit, it keeps having other thoughts :

Thought
The user's message is the system continuation prompt again. ... 
Actually, since I keep getting the "... `user's request`...

While I haven't asked anything again. I eventually lost all my credits.

Expected result: after completing a task, stop the thinking process and not performing other tasks until the user asks again.

Current UID: 7aba760a-5f8b-4210-83e6-a0cfd1667570

Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the loop with the reported audit workflow and inspect the agent continuation and task-completion entry points. Done means the agent stops after completing a task, waits for a new user request, and no longer consumes credits by continuing autonomously.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
ai
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.