Skip to content

Repeatedly sending requests when getting close to context window. #15778

Closed as not planned

Description

@underlinedhs-dot

Description

Repeatedly sending requests when getting close to context window.
The message content is only about "step-start" and "step-finish".
Requests will be send with a frequency of around 20 times per minute.
No tool call, no work and no token consumed. Just repeatedly sending requests.

Plugins

oh-my-opencode

OpenCode version

1.1.43

Steps to reproduce

  1. Start a session and work.
  2. Chat until total token reach around 95k (Model: GLM-4.7, Context window: 102.4k)
  3. Then opencode stop work and repeatedly send requests.

Screenshot and/or share link

An example:

{
"message": {
"role": "assistant",
"time": {
"created": 1772413559107,
"completed": 1772413563454
},
"parentID": "xx",
"modelID": "glm-4.7",
"providerID": "local",
"mode": "Sisyphus (Ultraworker)",
"agent": "Sisyphus (Ultraworker)",
"path": {
"cwd": "D:\Projects\ModelizedAgent",
"root": "D:\Projects\ModelizedAgent"
},
"cost": 0,
"tokens": {
"input": 0,
"output": 0,
"reasoning": 0,
"cache": {
"read": 0,
"write": 0
}
},
"finish": "unknown",
"id": "xx",
"sessionID": "xx"
},
"parts": [
{
"type": "step-start",
"snapshot": "xx",
"id": "xx",
"sessionID": "xx",
"messageID": "xx"
},
{
"type": "step-finish",
"reason": "unknown",
"snapshot": "xxx",
"cost": 0,
"tokens": {
"input": 0,
"output": 0,
"reasoning": 0,
"cache": {
"read": 0,
"write": 0
}
},
"id": "xx",
"sessionID": "xx",
"messageID": "xx"
}
]
}

Operating System

Windows 11

Terminal

Windows terminal, Opencode TUI

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Mar 3, 2026
  2. github-actions commented on Mar 3, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    If your issue is already covered by #15533, please add a comment there with any additional details (e.g. GLM-4.7 / local provider specifics) rather than opening a new report.

  3. assigned and unassigned on Apr 26, 2026
  4. removed
    bugSomething isn't working
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  5. github-actions commented on Jul 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions