mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
ai: make temperature actually work
This commit is contained in:
@@ -529,7 +529,7 @@ Singleton {
|
||||
"parts": [{ text: root.systemPrompt }]
|
||||
},
|
||||
"generationConfig": {
|
||||
// "temperature": root.temperature,
|
||||
"temperature": root.temperature,
|
||||
},
|
||||
};
|
||||
return model.extraParams ? Object.assign({}, baseData, model.extraParams) : baseData;
|
||||
@@ -548,7 +548,7 @@ Singleton {
|
||||
}),
|
||||
],
|
||||
"stream": true,
|
||||
// "temperature": root.temperature,
|
||||
"temperature": root.temperature,
|
||||
};
|
||||
return model.extraParams ? Object.assign({}, baseData, model.extraParams) : baseData;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user