Skip to content

[Bug]: Forcing recall models from gpt-5.2 -codex to gpt-5.3-codex #1804

@premg16

Description

@premg16

Prerequisites

  • I will write this issue in English (see our Language Policy)
  • I have searched existing issues to avoid duplicates
  • I am using the latest version of oh-my-opencode
  • I have read the documentation or asked an AI coding agent with this project's GitHub URL loaded and couldn't find the answer

Bug Description

I configured my config with gpt-5.2-codex but when i start opencode, it rewrites the config to gpt-5.3-codex.
I use openai api keys, gpt-5.3-codex is not available yet in the api.
It is annoying that I have to change the model eveytime i create new session.

Steps to Reproduce

  1. Configure oh-my-opencode.json with gpt-5.2-codex
  2. Run opencode
  3. Automatically rewrites config to gpt-5.3-codex.

Expected Behavior

I just want the opencode to use the model that i defined in config.

Actual Behavior

It changes the model in the config to gpt-5.3-codex

Doctor Output

oMoMoMoMo... Doctor 


Installation
────────────────────────────────────────
  ✓ OpenCode Installation → 1.1.60
  ✓ Plugin Registration → Registered (pinned: latest)

Configuration
────────────────────────────────────────
  ✓ Configuration Validity → Valid JSON config
  ✓ Model Resolution → 10 agents, 8 categories (18 overrides), 2548 available

Authentication
────────────────────────────────────────
  ✓ Anthropic (Claude) Auth → Auth plugin available
  ○ OpenAI (ChatGPT) Auth → Auth plugin not installed
  ✓ Google (Gemini) Auth → Auth plugin available

Dependencies
────────────────────────────────────────
  ✓ AST-Grep CLI → installed
  ⚠ AST-Grep NAPI → Not installed (optional)
  ⚠ Comment Checker → Not installed (optional)

Tools & Servers
────────────────────────────────────────
  ⚠ GitHub CLI → 2.86.0 - not authenticated
  ✓ LSP Servers → 2/4 servers available
  ✓ Built-in MCP Servers → 2 built-in servers enabled
  ○ User MCP Configuration → No user MCP configuration found
  ○ MCP OAuth Tokens → No OAuth tokens configured

Updates
────────────────────────────────────────
  ⚠ Version Status → Unable to determine current version

Summary
────────────────────────────────────────

  9 passed, 0 failed, 4 warnings, 3 skipped
  Total: 16 checks in 847ms

⚠ All systems operational with warnings.

Error Logs

Configuration

Additional Context

No response

Operating System

macOS

OpenCode Version

1.1.60

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