Skip to content

Unable to interrupt stream when model is stuck in a thinking loop #3872

Description

@pkimtani

Description

This may not be a valid case with cloud models but when I use my own model (served via vllm), and my agent gets struck in a "thinking" loop, pressing "esc" does not interrupt the ongoing session/stream.
The only option remains is to either close the entire session/app or stop the model.

Expected Behavior

Pressing Esc should always interrup the ongoing session/stream

Actual Behavior

Pressing esc does nothing

Steps to Reproduce

Haard to determine when a model would get stuck in a thinking loop.

Docker Agent version

docker-agent version main Commit: e9c601d

OS & terminal

No response

Model used

No response

Error output

Screenshots

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

area/agentFor work that has to do with the general agent loop/agentic features of the apparea/tuiFor features/issues/fixes related to the TUI

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions