@oh-my-pi/pi-ai 11.7.1 → 11.7.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oh-my-pi/pi-ai",
3
- "version": "11.7.1",
3
+ "version": "11.7.2",
4
4
  "description": "Unified LLM API with automatic model discovery and provider configuration",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -63,7 +63,7 @@
63
63
  "@connectrpc/connect-node": "^2.1.1",
64
64
  "@google/genai": "^1.39.0",
65
65
  "@mistralai/mistralai": "^1.13.0",
66
- "@oh-my-pi/pi-utils": "11.7.1",
66
+ "@oh-my-pi/pi-utils": "11.7.2",
67
67
  "@sinclair/typebox": "^0.34.48",
68
68
  "@smithy/node-http-handler": "^4.4.9",
69
69
  "ajv": "^8.17.1",
@@ -166,7 +166,7 @@ ${params}
166
166
  const part: Part = {
167
167
  functionCall: {
168
168
  name: block.name,
169
- args: block.arguments,
169
+ args: block.arguments ?? {},
170
170
  ...(requiresToolCallId(model.id) ? { id: block.id } : {}),
171
171
  },
172
172
  };