How to set model temperature? #5097

Open
opened 2026-02-16 17:48:41 -05:00 by yindo · 0 comments
Owner

Originally created by @klonuo on GitHub (Jan 12, 2026).

Originally assigned to: @jayair on GitHub.

Question

From the docs (https://opencode.ai/docs/agents/#temperature) it looks like temperature is accepted just for agents, while the schema (https://opencode.ai/config.json) for custom provider allows temperature as boolean (I guess enabled/disabled based on agent).

I have suggested temperatures per model, so how to set model temperature?

Originally created by @klonuo on GitHub (Jan 12, 2026). Originally assigned to: @jayair on GitHub. ### Question From the docs (https://opencode.ai/docs/agents/#temperature) it looks like temperature is accepted just for agents, while the schema (https://opencode.ai/config.json) for custom provider allows temperature as boolean (I guess enabled/disabled based on agent). I have suggested temperatures per model, so how to set model temperature?
yindo added the docs label 2026-02-16 17:48:41 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#5097