Skip to content

[Bug]: interface becomes slow and unresponsive after several iterations #82

@bartman

Description

@bartman

Bug Description

This may be related to #52 or #66, but not quite the same.

$ grok --version
1.0.1

installed in a full Debian/testing container...

$ sudo apt install npm nodejs
$ npm install -g bun
$ bun add -g @vibe-kit/grok-cli@0.0.27

I'm not using the latest version because #79 / #80 issue.
UPDATE: after my workaround (#80 (comment)) I'm able to run latest version -- same issue.

Everything seems to work at first. I can ask grok to build and modify code, run tests. After about 15 minutes of use, every time, the interface will grind to a halt, both typing and responses back from grok are sluggish.

If I attempt to plow through eventually I'll get to a state where I can type and watch my characters show up 3 seconds later.

If I restart the grok app, everything is back to working -- for a few prompts.

UPDATE: /clear makes it more responsive again. So it's just some state buildup.

Steps to reproduce

  1. open an existing code base.
  2. tell grok to scan the code base (to build context)
  3. tell grok to make changes (like refactor something)
  4. try to type -- notice it's slow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions