From c02bcc087ecef46f29c28a60f43d7f1ce8fd3c83 Mon Sep 17 00:00:00 2001 From: Mic Date: Mon, 8 Sep 2025 21:42:00 +0200 Subject: [PATCH] info added about gemini thinking budget. see #494 --- js/api/google_gemini.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/api/google_gemini.js b/js/api/google_gemini.js index 2f46f8b1..fbcec986 100644 --- a/js/api/google_gemini.js +++ b/js/api/google_gemini.js @@ -38,6 +38,11 @@ export class GoogleGemini { this.system_instruction = system_instruction; this.stream = stream; 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 + */ }