simonw / simonw/llm

How to cut off the LLM in chat mode

Open
#472 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
12.5k
Forks
998
Avg merge
3d 13h
Merged PRs (30d)
10

Description

Frequently the LLM starts typing an answer and I want to give it more feedback because it's not quite typing the right thing. I don't know how to stop the agent responding so I can type some more stuff.

I can hit "ctrl+C" but this quits the entire chat session which I then need to restart with "llm chat -c" but it seems like there must be a better way.

I checked the docs and the help output and didn't see any answers here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the behavior with the llm chat command and review the existing help output, since the issue names no files or tests. The change is complete when generation can be interrupted so more feedback can be entered without ending the chat session or requiring llm chat -c.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
44/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.