simonw / simonw/llm

[Q] What happens when `--continue` and `--model` are used together?

Open
#361 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
Python
Stars
12.5k
Forks
998
Avg merge
6d 12h
Merged PRs (30d)
15

Description

What happens when --continue and --model are used together?

Will the new model specified by --model be used, even if the previous conversation had a different model?

This is unclear in the docs:

This will re-send the prompts and responses for the previous conversation as part of the call to the language model. Note that this can add up quickly in terms of tokens, especially if you are using expensive models.
--continue will automatically use the same model as the conversation that you are continuing, even if you omit the -m/--model option.

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 CLI documentation passages quoted in the issue and trace the documented behavior of --continue and --model together. Verify the option precedence, then update the relevant documentation so the combined behavior is explicit and consistent with the existing descriptions.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.