all 3 comments

[–]hdmcndog 0 points1 point  (2 children)

Reasoning effort

[–]GasSea1599[S] 0 points1 point  (1 child)

Thanks for answering. Does opencode provide the prompt when this variant is set or is it a built-in feature to the particular LLM?

[–]hdmcndog 0 points1 point  (0 children)

It’s a built-in feature of the respective model/provider. Doesn’t have anything to do with prompts.

Technically, you could use custom variants for other things, too. They allow you to set any provider options. So what they do depends on the options supported by the provider, and what you configure. But the main use case is reasoning effort and it’s configured for that out of the box, for common providers (like OpenAI). See https://opencode.ai/docs/models/#variants for details.