Skip to content

feat(cli): Show the conversation's model in jp c show - #1243

Merged
JeanMertz merged 1 commit into
mainfrom
add-model-to-show
Oct 6, 2026
Merged

JeanMertz merged 1 commit into
mainfrom
add-model-to-show

Conversation

@JeanMertz

Copy link
Copy Markdown
Collaborator

jp conversation show now reports the model a conversation is configured to use. The text view adds a Model row beneath the title (and assistant name, when set), and the JSON payload gains a model key next to assistant:

    ID  jp-c10000
 Title  Rework the config pipeline
 Model  anthropic/claude-sonnet-4-5

The value is read from the conversation's own config (its base snapshot plus every recorded config delta), with aliases resolved to provider/name. --cfg overrides on the show invocation itself do not change it, so each conversation listed reports its own model. As with the other optional fields, the model key is always present in the JSON output and is null when no model is set.

`jp conversation show` now reports the model a conversation is
configured to use. The text view adds a `Model` row beneath the title
(and assistant name, when set), and the JSON payload gains a `model`
key next to `assistant`:

```
    ID  jp-c10000
 Title  Rework the config pipeline
 Model  anthropic/claude-sonnet-4-5
```

The value is read from the conversation's own config (its base
snapshot plus every recorded config delta), with aliases resolved to
`provider/name`. `--cfg` overrides on the `show` invocation itself do
not change it, so each conversation listed reports its own model. As
with the other optional fields, the `model` key is always present in
the JSON output and is `null` when no model is set.

Signed-off-by: Jean Mertz <git@jeanmertz.com>
@JeanMertz
JeanMertz merged commit 8856e8f into main Oct 6, 2026
22 checks passed
@JeanMertz
JeanMertz deleted the add-model-to-show branch October 6, 2026 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant