Repository navigation
Conversation
Contributor
|
The following comment was made by an LLM, it may be inaccurate: No duplicate PRs found |
1 task done
|
As mentioned in #7354 (comment): my fork's version of this feature. Feel free to use anything there if useful! |
Brings parity with `opencode run` which already supports --variant. Allows users to specify reasoning effort when launching TUI with --prompt.
ekweible
force-pushed
the
feat/cli-root-variant-flag
branch
from
January 23, 2026 18:04
869617e to
f435b7a
Compare
opencode-agent
Bot
force-pushed
the
dev
branch
from
January 30, 2026 14:32
00637c0 to
71e0ba2
Compare
thdxr
force-pushed
the
dev
branch
3 times, most recently
from
January 30, 2026 14:37
f1ae801 to
08fa7f7
Compare
|
super interested in this ! LMK if some testing is needed or whatever :) |
|
any progress? |
|
Anything needed to move this forward? |
Member
|
This branch has been upgraded to V2. We're no longer taking PRs for V1. If you think this is still relevant, please port it over and open it for V2. — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #7354
Summary
Adds
--variantflag to rootopencodecommand, matching existing support inopencode run.Changes
thread.ts: Add--variantoption to yargs builder, pass to tui argsargs.tsx: Addvariantto Args interfacelocal.tsx: Initialize variant from CLI arg usingmodel.variant.set()This is my first contribution here, so please let me know if I've missed something! I didn't see any existing test coverage for the CLI args or the TUI local context, but I'm happy to add tests if desired.