You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Models search does not show custom models unless explicit difference is specified #2877
Example: I have defined GPT-5 Codex Low(gpt-5-codex-low) and GPT-5 Codex Minimal(gpt-5-codex-minimal) based on GPT-5-Codex(gpt-5-codex).
Problem: Searching custom models with gpt-5 or codex will not display Low/Minimal if the word is not specified explicitly.
And an offtopic question, im a little bit confused about reasoning.effort and reasoningEffort. Which one should I specify for openai/openrouter, because according to their docs it's reasoning.effort
changed the title [-]Models search does not work with custom models unless explicit difference is specified[/-][+]Models search does not show custom models unless explicit difference is specified[/+]on Sep 30, 2025
And an offtopic question, im a little bit confused about reasoning.effort and reasoningEffort. Which one should I specify for openai/openrouter, because according to their docs it's reasoning.effort
reasoningEffort 'minimal' | 'low' | 'medium' | 'high' Reasoning effort for reasoning models. Defaults to medium. If you use providerOptions to set the reasoningEffort option, this model setting will be ignored.
Activity
[-]Models search does not work with custom models unless explicit difference is specified[/-][+]Models search does not show custom models unless explicit difference is specified[/+]github-actions commentedon Sep 30, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
geril07 commentedon Sep 30, 2025
Seems like
model.Model.IDhere is anidof base model and therefore custom models are skipped:https://github.com/sst/opencode/blob/5a507023a6f3d9f166f4696bbb6424297f6afdaf/packages/tui/internal/components/dialog/models.go#L305-L310
rekram1-node commentedon Sep 30, 2025
@geril07 doesn't seem like intended behavior Ill check it out
rekram1-node commentedon Sep 30, 2025
So we use vercel ai sdk and we need to document this better but the options come from their providers, so for openai:
https://ai-sdk.dev/providers/ai-sdk-providers/openai#responses-models
See:
rekram1-node commentedon Sep 30, 2025
should be fixed in next release