@demicodes/provider-openai-api 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +2 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -726,9 +726,10 @@ function thinkingToOpenAIReasoning(thinking) {
|
|
|
726
726
|
summary: "auto"
|
|
727
727
|
};
|
|
728
728
|
if (thinking.effort === "none") return { effort: "none" };
|
|
729
|
+
if (thinking.summary === "off") return { effort: thinking.effort };
|
|
729
730
|
return {
|
|
730
731
|
effort: thinking.effort,
|
|
731
|
-
summary: thinking.summary
|
|
732
|
+
summary: thinking.summary ?? "auto"
|
|
732
733
|
};
|
|
733
734
|
}
|
|
734
735
|
function splitOpenAIResponseToolUseId(toolUseId) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@demicodes/provider-openai-api",
|
|
3
3
|
"description": "OpenAI API provider adapter for Demi.",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.1",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@demicodes/core": "^0.7.
|
|
15
|
-
"@demicodes/provider": "^0.7.
|
|
16
|
-
"@demicodes/utils": "^0.7.
|
|
14
|
+
"@demicodes/core": "^0.7.1",
|
|
15
|
+
"@demicodes/provider": "^0.7.1",
|
|
16
|
+
"@demicodes/utils": "^0.7.1"
|
|
17
17
|
},
|
|
18
18
|
"license": "Apache-2.0",
|
|
19
19
|
"main": "./dist/index.mjs",
|