@code-yeongyu/senpi-ai 2026.10.12 → 2026.10.13
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/api/anthropic-messages.js +1 -1
- package/dist/providers/data/.manifest.json +1 -1
- package/dist/providers/data/cloudflare-ai-gateway.json +1 -1
- package/dist/providers/data/meta.json +1 -1
- package/dist/providers/data/opencode.json +1 -1
- package/dist/providers/data/opengateway.json +1 -1
- package/dist/providers/data/openrouter.json +1 -1
- package/dist/providers/data/radius.json +1 -1
- package/dist/providers/data/vercel-ai-gateway.json +1 -1
- package/dist/utils/tool-schema-compat.js +5 -3
- package/package.json +2 -2
|
@@ -215,9 +215,11 @@ function ensureRootObjectSchema(schema) {
|
|
|
215
215
|
return merged;
|
|
216
216
|
if (schema.type !== undefined)
|
|
217
217
|
return schema;
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
218
|
+
// DeepSeek (and gateways forwarding to it) reject any root parameters schema
|
|
219
|
+
// without `type: "object"` (`got 'type: null'`). When the root union cannot
|
|
220
|
+
// merge, keep the combiner and claim the object type rather than send a
|
|
221
|
+
// typeless root: tool parameters are objects in practice, and the wire
|
|
222
|
+
// shape stays valid for validators that enforce the root type.
|
|
221
223
|
return { ...schema, type: "object" };
|
|
222
224
|
}
|
|
223
225
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code-yeongyu/senpi-ai",
|
|
3
|
-
"version": "2026.10.
|
|
3
|
+
"version": "2026.10.13",
|
|
4
4
|
"description": "Unified LLM API with automatic model discovery and provider configuration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"dependencies": {
|
|
89
89
|
"@anthropic-ai/sdk": "0.127.0",
|
|
90
90
|
"@aws-sdk/client-bedrock-runtime": "3.1136.0",
|
|
91
|
-
"@earendil-works/pi-telemetry": "npm:@code-yeongyu/senpi-telemetry@2026.10.
|
|
91
|
+
"@earendil-works/pi-telemetry": "npm:@code-yeongyu/senpi-telemetry@2026.10.13",
|
|
92
92
|
"@google/genai": "2.23.0",
|
|
93
93
|
"@smithy/node-http-handler": "4.12.1",
|
|
94
94
|
"http-proxy-agent": "9.1.0",
|