mirror of
https://github.com/sst/opencode.git
synced 2025-07-07 16:14:59 +00:00
fix issue with tool schemas and google
This commit is contained in:
parent
57b3051024
commit
ee91f31313
15 changed files with 82 additions and 19 deletions
13
patches/ai@4.3.16.patch
Normal file
13
patches/ai@4.3.16.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/dist/index.mjs b/dist/index.mjs
|
||||
index 92a80377692488c4ba8801ce33e7736ad7055e43..add6281bbecaa1c03d3b48eb99aead4a7a7336b2 100644
|
||||
--- a/dist/index.mjs
|
||||
+++ b/dist/index.mjs
|
||||
@@ -1593,7 +1593,7 @@ function prepareCallSettings({
|
||||
return {
|
||||
maxTokens,
|
||||
// TODO v5 remove default 0 for temperature
|
||||
- temperature: temperature != null ? temperature : 0,
|
||||
+ temperature: temperature,
|
||||
topP,
|
||||
topK,
|
||||
presencePenalty,
|
Loading…
Add table
Add a link
Reference in a new issue