Error: "model ID config must match <provider>/<model>"
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16
- Forks
- 3
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 121
Description
Added openai as a provider alias, and jp returns this error:
% cat ~/.config/jp/config.toml
[user]
name = "jay"
[providers.llm.aliases]
#opus = "anthropic/claude-opus-4-7"
#sonnet = "anthropic/claude-sonnet-4-6"
#gemini = "google/gemini-3.1-pro-preview"
cerebras = "cerebras/zai-glm-4.7"
openai = "openai/gpt-5.5"
% jp q -n -c dev -m openai hello
Config error
conversation.inquiry.assistant.model.id: model ID config must match <provider>/<model>
Full trace log written to: /tmp/.tmpOMC61X
The log in /tmp doesn't seem to have anything useful. It's too big to post directly to GitHub.
Same error occurs with model alias cerebras.
I get a slightly different error when I rename my config.toml:
% mv ~/.config/jp/config.toml ~/.config/jp/config.toml.do-not-use
% jp q -n -c dev -m cerebras hello
Config error
assistant.model.id: model ID config must match <provider>/<model>
Full trace log written to: /tmp/.tmphEif7F
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Reproduce the failure with the shown jp commands, then trace provider-alias handling and model ID validation; done means the configured openai and cerebras aliases are accepted and the commands proceed without the format error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- ai, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100