simonw / simonw/llm

chat - use color for the prompt

Open
#596 4 comments 12 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

LLM's can respond with a wall of text, and in an interactive session, it can be hard to distinguish the different responses, or find the start of my most recent question vs. the end of the previous answer.

It would be nice if the prompt was in color, or had more newlines around it, or something, so it was easier to distinguish.

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 locating the interactive chat command and its prompt rendering code, then run a chat session to observe how user prompts and model responses are separated. The work is done when prompts are visually distinct through color, spacing, or another clear treatment, with the behavior covered by an appropriate test if the project has one.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.