branch: externals/minuet commit f92c0231d3f1a91e14af57ee47956fc29eb10d57 Author: Milan Glacier <d...@milanglacier.com> Commit: Milan Glacier <d...@milanglacier.com>
doc: update gemini config example to disable thinking. --- README.md | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 33d886aeca..be5da06ac8 100644 --- a/README.md +++ b/README.md @@ -511,20 +511,24 @@ request timeout from outputing too many tokens. You can also adjust the safety settings following the example: ```lisp -(minuet-set-optional-options minuet-gemini-options - :generationConfig - '(:maxOutputTokens 256 - :topP 0.9)) -(minuet-set-optional-options minuet-gemini-options - :safetySettings - [(:category "HARM_CATEGORY_DANGEROUS_CONTENT" - :threshold "BLOCK_NONE") - (:category "HARM_CATEGORY_HATE_SPEECH" - :threshold "BLOCK_NONE") - (:category "HARM_CATEGORY_HARASSMENT" - :threshold "BLOCK_NONE") - (:category "HARM_CATEGORY_SEXUALLY_EXPLICIT" - :threshold "BLOCK_NONE")]) +(minuet-set-optional-options + minuet-gemini-options :generationConfig + '(:maxOutputTokens 256 + :topP 0.9 + ;; When using `gemini-2.5-flash`, it is recommended to entirely + ;; disable thinking for faster completion retrieval. + :thinkingConfig (:thinkingBudget 0))) + +(minuet-set-optional-options + minuet-gemini-options :safetySettings + [(:category "HARM_CATEGORY_DANGEROUS_CONTENT" + :threshold "BLOCK_NONE") + (:category "HARM_CATEGORY_HATE_SPEECH" + :threshold "BLOCK_NONE") + (:category "HARM_CATEGORY_HARASSMENT" + :threshold "BLOCK_NONE") + (:category "HARM_CATEGORY_SEXUALLY_EXPLICIT" + :threshold "BLOCK_NONE")]) ``` </details>