[PR #12531] feat(core): Set variant in assistant messages too #14252

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

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

State: closed
Merged: Yes


What does this PR do?

Adds model variant selection in assistant messages

If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!

Manual Testing

{
        "info": {
            "id": "msg_c350253fd0019aBhGUrMTWePEU",
            "sessionID": "ses_3cafea7a4ffeUaTmwCrT2sZWuY",
            "role": "assistant",
            "time": {
                "created": 1770415870973,
                "completed": 1770415872871
            },
            "parentID": "msg_c350253cc0013P2nFF9JZp240k",
            "modelID": "gpt-5.3-codex",
            "providerID": "openai",
            "mode": "build",
            "agent": "build",
            "path": {
                "cwd": "/Users/shantur/Coding/tasmotizer",
                "root": "/Users/shantur/Coding/tasmotizer"
            },
            "cost": 0,
            "tokens": {
                "input": 10988,
                "output": 33,
                "reasoning": 15,
                "cache": {
                    "read": 0,
                    "write": 0
                }
            },
            "variant": "high",
            "finish": "stop"
        },
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12531 **State:** closed **Merged:** Yes --- ### What does this PR do? Adds model variant selection in assistant messages **If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!** Manual Testing ``` { "info": { "id": "msg_c350253fd0019aBhGUrMTWePEU", "sessionID": "ses_3cafea7a4ffeUaTmwCrT2sZWuY", "role": "assistant", "time": { "created": 1770415870973, "completed": 1770415872871 }, "parentID": "msg_c350253cc0013P2nFF9JZp240k", "modelID": "gpt-5.3-codex", "providerID": "openai", "mode": "build", "agent": "build", "path": { "cwd": "/Users/shantur/Coding/tasmotizer", "root": "/Users/shantur/Coding/tasmotizer" }, "cost": 0, "tokens": { "input": 10988, "output": 33, "reasoning": 15, "cache": { "read": 0, "write": 0 } }, "variant": "high", "finish": "stop" }, ```
yindo added the pull-request label 2026-02-16 18:19:04 -05:00
yindo closed this issue 2026-02-16 18:19:04 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14252