simonw / simonw/llm

Idea: pipe data to `llm chat` to start the conversation

Open
#272 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Might be useful to be able to do this:

git diff | llm chat -m gpt-4 --in

Where the content doesn't actually get sent to the model at all (yet), but is instead added to the history and made ready to be sent with the first question that the user asks.

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 with the llm chat command and its handling of piped stdin, using the requested git diff | llm chat -m gpt-4 --in invocation as the behavioral example. Done means the piped content is added to conversation history without being sent to the model until the user asks the first question.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.