chore(opencode): route reasoning effort through model aliases #251

Merged
jwilger merged 1 commit from fix-agent-variant-effort into main 2026-05-18 11:44:46 -07:00
Owner

Why:

  • Agent switching preserves reasoning effort when agents share the same model ID, so build and plan need distinct configured model identities.

What:

  • Add low/high gpt-5.5 OpenAI aliases with matching reasoning effort options.
  • Point build at the low alias and high-reasoning agents at the high alias.
  • Update the plan-advisor agent file to use the high alias.

Validation:

  • opencode models openai
  • opencode agent list
Why: - Agent switching preserves reasoning effort when agents share the same model ID, so build and plan need distinct configured model identities. What: - Add low/high `gpt-5.5` OpenAI aliases with matching reasoning effort options. - Point build at the low alias and high-reasoning agents at the high alias. - Update the plan-advisor agent file to use the high alias. Validation: - `opencode models openai` - `opencode agent list`
chore(opencode): route reasoning effort through model aliases
All checks were successful
CI / Clippy (pull_request) Successful in 40s
CI / Request auto_review semantic review (pull_request) Successful in 1s
CI / Build PR artifacts (no token) (pull_request) Successful in 2s
auto_review auto_review: no findings
CI / Format check (pull_request) Successful in 5s
CI / Dependency policy (pull_request) Successful in 12s
CI / Test (pull_request) Successful in 54s
CI / Build (pull_request) Successful in 33s
adeecbfcae
Why:
- Agent switching preserves reasoning effort when agents share the same model ID, so build and plan need distinct configured model identities.

What:
- Add low/high gpt-5.5 OpenAI aliases with matching reasoning effort options.
- Point build at the low alias and high-reasoning agents at the high alias.

Validation:
- opencode models openai
- opencode agent list
auto-review left a comment

The PR introduces model aliases for OpenAI's gpt-5.5 to differentiate between low and high reasoning efforts, updating the configuration to use these aliases. This change appears safe to merge, as it aligns with the goal of preserving reasoning effort across agent switches.

Walkthrough

  • .opencode/agents/plan-advisor.md:
    • Updated the model to use the openai/gpt-5.5-high alias, reflecting the high reasoning effort configuration.
  • opencode.json:
    • Added new model aliases gpt-5.5-low and gpt-5.5-high with corresponding reasoning effort options.
    • Updated various agents to use these new aliases, ensuring that the reasoning effort is preserved across different configurations.
The PR introduces model aliases for OpenAI's `gpt-5.5` to differentiate between low and high reasoning efforts, updating the configuration to use these aliases. This change appears safe to merge, as it aligns with the goal of preserving reasoning effort across agent switches. ## Walkthrough - **.opencode/agents/plan-advisor.md**: - Updated the model to use the `openai/gpt-5.5-high` alias, reflecting the high reasoning effort configuration. - **opencode.json**: - Added new model aliases `gpt-5.5-low` and `gpt-5.5-high` with corresponding reasoning effort options. - Updated various agents to use these new aliases, ensuring that the reasoning effort is preserved across different configurations.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Slipstream/auto_review!251
No description provided.