Skip to content

High CPU usage when tui mode = off, idling #584

@edocod1

Description

@edocod1

Issue

While using cecli with tui mode disabled (i like the classic "chat" experience where my terminal handles scrolling and history and so on) and the task has finished, there is a single thread using 100% of cpu. My machine has 16 threads so it shows up as just ~10% continous cpu usage, but i think it's an issue nonetheless.

My console (Konsole, KDE) shows the lines that are being updated, and it looks like the line and the other after the prompt are continuously overwritten.

Image

It's not a big issue (except for the fact that now the fans never spin down) but to my experience aider was not affected.

Version and model info

cecli 0.100.8
using glm-5.1

Metadata

Metadata

Assignees

No one assigned

    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