Skip to content

Model repeats the same response in a loop after generating an answer #16218

@rishilpasunuri

Description

@rishilpasunuri

Description

When I provide a prompt in OpenCode, the model generates a correct response initially. However, after generating the response, it keeps repeating the same answer continuously in a loop instead of stopping after the first response.

Plugins

Github co-pilot

OpenCode version

1.2.16

Steps to reproduce

  1. OpenCode.

2.Enter any prompt (example: "Explain edge detection in image processing").

3.Wait for the model to generate the response.

4.Observe that the response repeats continuously.

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

Windows 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