Skip to content

How to set model temperature? #8101

@klonuo

Description

@klonuo

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?

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions