mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
do not set temperature for claude models
This commit is contained in:
parent
982954cc1b
commit
d8249f32a8
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ export namespace ProviderTransform {
|
|||
|
||||
export function temperature(_providerID: string, modelID: string) {
|
||||
if (modelID.toLowerCase().includes("qwen")) return 0.55
|
||||
if (modelID.toLowerCase().includes("claude")) return 1
|
||||
if (modelID.toLowerCase().includes("claude")) return undefined
|
||||
return 0
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue