summaryrefslogtreecommitdiffhomepage
path: root/patches/[email protected]
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-06-17 11:27:07 -0400
committerDax Raad <[email protected]>2025-06-17 11:27:07 -0400
commitee91f31313655e8282d4d19b1c67deb249153b5d (patch)
tree8fe3066a839851ec0f06d78cac9f088d9a49361f /patches/[email protected]
parent57b3051024bb3e684d7601c0dc843ba8637fe264 (diff)
downloadopencode-ee91f31313655e8282d4d19b1c67deb249153b5d.tar.gz
opencode-ee91f31313655e8282d4d19b1c67deb249153b5d.zip
fix issue with tool schemas and google
Diffstat (limited to 'patches/[email protected]')
-rw-r--r--patches/[email protected]13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/[email protected] b/patches/[email protected]
new file mode 100644
index 000000000..7d6df589d
--- /dev/null
+++ b/patches/[email protected]
@@ -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,