[PR #10264] docs: Update agents.mdx / models section w/ correct provider/model-id format #13381

Closed
opened 2026-02-16 18:18:14 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/10264

State: closed
Merged: No


Previous version incorrectly stated "The model ID in your OpenCode config uses the format provider/model-id. For example, if you’re using OpenCode Zen, you would use opencode/gpt-5.1-codex for GPT 5.1 Codex."

This commit corrects the provider/model-id format and examples. The provider indeed prefixes the model-id, but it's the full model-id, not just the part to the right of the slash, e.g.

opencode/openai/gpt-5.1-codex
openai/openai/gpt-5.1-codex

What does this PR do?

corrects incorrect/confusing documentation

How did you verify your code works?

tested in opencode.json

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/10264 **State:** closed **Merged:** No --- Previous version incorrectly stated "The model ID in your OpenCode config uses the format provider/model-id. For example, if you’re using OpenCode Zen, you would use opencode/gpt-5.1-codex for GPT 5.1 Codex." This commit corrects the provider/model-id format and examples. The provider indeed prefixes the model-id, but it's the full model-id, not just the part to the right of the slash, e.g. opencode/openai/gpt-5.1-codex openai/openai/gpt-5.1-codex ### What does this PR do? corrects incorrect/confusing documentation ### How did you verify your code works? tested in opencode.json
yindo added the pull-request label 2026-02-16 18:18:14 -05:00
yindo closed this issue 2026-02-16 18:18:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13381