Skip to content

[BUG] No options in the model list #109

@isezen

Description

@isezen

Bug Description
A clear and concise description of the bug.

Steps to Reproduce

  1. Followed installation instructions
  2. No file at ~/.opencode/auth/openai.json
  3. No model options other than OpenCode supported 2 OpenAI options

Expected Behavior
I think I need to see a lot of chatGPT models in the model list.

Actual Behavior
No chatGPT models in the model list except OpenCode supported 2 OpenAI (OAuth) models.

Environment

  • opencode version: 1.1.25
  • Plugin version: 4.4.0
  • Operating System: Sonoma 14.8.3
  • Node.js version:

Logs
If applicable, attach logs from ~/.opencode/logs/codex-plugin/ (enable with ENABLE_PLUGIN_REQUEST_LOGGING=1)

Compliance Checklist
Please confirm:

  • I'm using this plugin for personal development only
  • I have an active ChatGPT Plus/Pro subscription
  • This issue is not related to attempting commercial use or TOS violations
  • I've reviewed the FAQ and Troubleshooting sections

Additional Context

  1. No ~/.opencode/directory.
  2. opencode run "write hello world to test.txt" --model=openai/gpt-5.2 --variant=xhigh WORKS.
  3. opencode run "write hello world to test.txt" --model=openai/gpt-5.2-codex --variant=xhigh WORKS.
  4. opencode run "write hello world to test.txt" --model=openai/gpt-5.2-codex-mini --variant=high WORKS.

I tested all models as CL parameter and all of them works. However, I don't see them in OpenCode model list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions