-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[Question]: Inquiry about infinite loop phenomenon #2995
Description
Prerequisites
- I will write this issue in English (see our Language Policy)
- I have searched existing issues and discussions
- I have read the documentation or asked an AI coding agent with this project's GitHub URL loaded and couldn't find the answer
- This is a question (not a bug report or feature request)
Question
Since this is the first time I've experienced this, I thought it was normal, but I don't think so, so I am asking this question.
Using the GitHub Copilot Pro plan, most components except CISSP are automatically configured to the Copilot Opus 4.6 model.
The same phenomenon occurs regardless of the command issued.
- Phenomenon -
- A specific command is issued.
- A simple command to pull from Git
-
Action is initiated after understanding the user's intent.
-
Task proceeds.
-
During the process: 1) Context becomes full, 2) Compaction begins, 3) After compaction, the task restarts from the beginning (starting from the goal).
-
Steps 4 1) through 3) repeat indefinitely (until the usage limit is reached).
-
The process does not stop even when a stop command is entered (/cancel-ralph, /stop-continuation).
-
Even if the process is interrupted by pressing Esc twice, step 5 repeats again upon entering any command.
- There are no problems at all when using a different model (the free Open Code Zen model).
I wonder if this phenomenon is natural.
Add content
Upon reproducing the issue, it appears that the Claude model displays the summarized content in the context immediately after compression, without allowing any time for the work to proceed. As soon as the summarized content is visible, the context fills up, performing compression again, displaying the next summary, and compressing; this process repeats in an infinite loop.
OpenCode repeats this process indefinitely until the GitHub Copilot Premium request usage is exhausted.
Context
- State after installation with no further action taken
- State after logging into Copilot with no further action taken
- Copilot login, OpenCodeGo API registration
Doctor Output (Optional)
Question Category
Configuration
Additional Information
Copilot Usage Premium requests were exhausted within 1 hour of subscription, making reproduction impossible.
OhMyOpenCode unknown
Sisyphus on steroids is steering OpenCode.
This is displayed in the top right corner immediately after entering the command.