Describe the enhancement you want to request
When users pass --model free to opencode run or the TUI, the CLI should randomly select from available free models on the opencode provider. Combined with --variant any, it should also randomly choose a variant for the selected model.
Useful for exploration, testing, and cost-free experimentation across the model catalog.
Adds Provider.resolveSelection() which filters for opencode provider models with zero cost and a recognized listing name, picks one at random, and optionally picks a random variant.
For anyone who comes across this github issue: Please 👍🏽 the PR: #34060 to get it in as a feature!
Describe the enhancement you want to request
When users pass
--model freetoopencode runor the TUI, the CLI should randomly select from available free models on the opencode provider. Combined with--variant any, it should also randomly choose a variant for the selected model.Useful for exploration, testing, and cost-free experimentation across the model catalog.
Adds
Provider.resolveSelection()which filters for opencode provider models with zero cost and a recognized listing name, picks one at random, and optionally picks a random variant.For anyone who comes across this github issue: Please 👍🏽 the PR: #34060 to get it in as a feature!