Skip to content

Error: "model ID config must match <provider>/<model>" #652

@parasyte

Description

@parasyte

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions