mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-23 10:00:08 +08:00
hotfix: gemini auto thinking (#6810)
This commit is contained in:
parent
0449bc359a
commit
cb746fd722
@ -300,7 +300,11 @@ export default class GeminiProvider extends BaseProvider {
|
||||
const effortRatio = EFFORT_RATIO[reasoningEffort]
|
||||
|
||||
if (effortRatio > 1) {
|
||||
return {}
|
||||
return {
|
||||
thinkingConfig: {
|
||||
includeThoughts: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const { max } = findTokenLimit(model.id) || { max: 0 }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user