fix(github): support variant in github action and opencode github run. by elithrar · Pull Request #14431 · anomalyco/opencode
added 3 commits
February 19, 2026 18:20
elithrar
changed the title
support variant in github action and opencode github run
fix(github): support variant in github action and opencode github run
github-actions bot pushed a commit to ask-bonk/ask-bonk that referenced this pull request
Feb 20, 2026Add variant parameter for provider-specific reasoning effort (e.g. high, max, minimal). Plumbs through two paths: 1. GitHub Action: new 'variant' input → VARIANT env var → opencode github run (requires upstream anomalyco/opencode#14431) 2. /ask API: variant field on AskRequest → session.prompt() body The v1 SDK types don't include variant yet, so we use a conditional spread to pass it through without type errors. Ref: #97
elithrar
changed the title
fix(github): support variant in github action and opencode github run
fix(github): support variant in github action and opencode github run.
elithrar pushed a commit to ask-bonk/ask-bonk that referenced this pull request
Feb 20, 2026Add variant parameter for provider-specific reasoning effort (e.g. high, max, minimal). Plumbs through two paths: 1. GitHub Action: new 'variant' input → VARIANT env var → opencode github run (requires upstream anomalyco/opencode#14431) 2. /ask API: variant field on AskRequest → session.prompt() body The v1 SDK types don't include variant yet, so we use a conditional spread to pass it through without type errors. Ref: #97 Co-authored-by: ask-bonk[bot] <ask-bonk[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters