Skip to content

feat(core): Set variant in assistant messages too#12531

Merged
rekram1-node merged 3 commits into
anomalyco:devfrom
shantur:variant-in-assistant-message
Feb 6, 2026
Merged

feat(core): Set variant in assistant messages too#12531
rekram1-node merged 3 commits into
anomalyco:devfrom
shantur:variant-in-assistant-message

Conversation

@shantur

@shantur shantur commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

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"
        },

@github-actions

This comment was marked as resolved.

@github-actions

This comment was marked as outdated.

@rekram1-node rekram1-node merged commit a486b74 into anomalyco:dev Feb 6, 2026
6 checks passed
Colin4k1024 pushed a commit to Colin4k1024/opencode that referenced this pull request Feb 10, 2026
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
BryceRyan pushed a commit to BryceRyan/opencode that referenced this pull request Feb 10, 2026
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
schneiderlo pushed a commit to schneiderlo/opencode that referenced this pull request Feb 17, 2026
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
xywsxp pushed a commit to xywsxp/opencode that referenced this pull request Apr 24, 2026
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
Rwanbt pushed a commit to Rwanbt/opencode that referenced this pull request May 5, 2026
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
avion23 pushed a commit to avion23/opencode that referenced this pull request Jun 10, 2026
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants