info added about gemini thinking budget. see #494
This commit is contained in:
parent
257236077a
commit
c02bcc087e
1 changed files with 5 additions and 0 deletions
|
|
@ -38,6 +38,11 @@ export class GoogleGemini {
|
||||||
this.system_instruction = system_instruction;
|
this.system_instruction = system_instruction;
|
||||||
this.stream = stream;
|
this.stream = stream;
|
||||||
this.thinkingBudget = thinkingBudget;
|
this.thinkingBudget = thinkingBudget;
|
||||||
|
/* Info from: https://ai.google.dev/gemini-api/docs/thinking?#set-budget
|
||||||
|
# Turn on thinking with a specific token limit: "thinkingBudget": 1024
|
||||||
|
# Thinking off: "thinkingBudget": 0
|
||||||
|
# Turn on dynamic thinking: "thinkingBudget": -1
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue