Skip to content

bugfix needed: Add automatic repetition loop detection and recovery #25093

@resname

Description

@resname

Description

Problem

When using kimi-k2.6:cloud via Ollama Cloud, the model occasionally enters a token repetition loop (e.g., infinitely repeating a single character like "S" after starting a "Thinking:" trace). The user has to manually interrupt and retry.

Image

Another example:
Image

Plugins

Oh my openagent, superpowers

OpenCode version

1.14.30

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Ubuntu 24.04

Terminal

Terminal inside vscode, but also in kubuntu terminal

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions