Skip to content

Degraded performace and chat UI lagging in long running conversations #3711

Description

@pkimtani

Description

I don't know how to describe this in a helpful manner, but when I was working on an EPIC and ran the session for a long time (2-3 session compaction on a 262k context window), I observed significant lag in the chat UI.
I additionally observed a spike in CPU usage.

When I entered /clear to reset the messages, things went back to normal, until the conversation grew again.

Note: These observations were made inside docker sbx as that is my only source of using the docker-agent currently.

P.S.: Happy to provide additional info if needed. I can not attach the session due to NDA on the project I am currently working with :/

Expected Behavior

No response

Actual Behavior

No response

Steps to Reproduce

No response

Docker Agent version

v1.110.0

OS & terminal

docker sbx

Model used

qwen 3.6 35B (served via vLLM)

Error output

Screenshots

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

area/sessionsFor features/issues/fixes related to session lifecycle (resume, persistence, export)area/tuiFor features/issues/fixes related to the TUI

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions