@vincemakes/kiso-provider-openai-responses 0.47.1 → 0.47.3
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.js +11 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -140,10 +140,17 @@ function buildBody(options, target, scopeProviderId) {
|
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
142
|
function toResponsesTool(tool) {
|
|
143
|
-
//
|
|
144
|
-
//
|
|
145
|
-
//
|
|
146
|
-
|
|
143
|
+
// `strict: false`, said explicitly. kiso's schemas are closed worlds the
|
|
144
|
+
// kernel validates (PH-1a.1), so no provider-side validator is wanted —
|
|
145
|
+
// but on the Responses API an ABSENT flag is not "off": the ChatGPT
|
|
146
|
+
// backend then forces every declared property into the call, and the
|
|
147
|
+
// model fills the optional ones with placeholders (`readyWhen: ""`
|
|
148
|
+
// detached a one-shot command; an empty second edit form refused every
|
|
149
|
+
// edit). One request per arm on gpt-6.1-sol, 2026-10-08: absent → all
|
|
150
|
+
// four optional shell fields sent; false → only `command`. The vendor's
|
|
151
|
+
// own client sends `strict: false` too. Reverses this adapter's earlier
|
|
152
|
+
// "no `strict`" note, which read absent as off.
|
|
153
|
+
return { type: "function", name: tool.name, description: tool.description, parameters: tool.inputSchema, strict: false };
|
|
147
154
|
}
|
|
148
155
|
function toInputContent(content) {
|
|
149
156
|
if (typeof content === "string")
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vincemakes/kiso-provider-openai-responses",
|
|
3
|
-
"version": "0.47.
|
|
3
|
+
"version": "0.47.3",
|
|
4
4
|
"description": "kiso OpenAI Responses adapter \u2014 the first-party Responses API and the ChatGPT subscription backend, one adapter, plain fetch + SSE.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"test": "vitest run"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@vincemakes/kiso-core": "0.47.
|
|
24
|
+
"@vincemakes/kiso-core": "0.47.3"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/node": "^26.1.2",
|