@f5-sales-demo/pi-ai 21.24.0 → 21.25.0

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,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@f5-sales-demo/pi-ai",
4
- "version": "21.24.0",
4
+ "version": "21.25.0",
5
5
  "description": "Unified LLM API with automatic model discovery and provider configuration",
6
6
  "homepage": "https://github.com/f5-sales-demo/xcsh",
7
7
  "author": "Can Boluk",
@@ -43,25 +43,25 @@
43
43
  "generate-models": "bun scripts/generate-models.ts"
44
44
  },
45
45
  "dependencies": {
46
- "@anthropic-ai/sdk": "^0.115",
47
- "@aws-sdk/client-bedrock-runtime": "^3",
48
- "@bufbuild/protobuf": "^2.11",
49
- "@f5-sales-demo/pi-utils": "21.24.0",
50
- "@google/genai": "^2.15",
51
- "@sinclair/typebox": "^0.34",
52
- "@smithy/node-http-handler": "^4.4",
46
+ "@anthropic-ai/sdk": "0.123.0",
47
+ "@aws-sdk/client-bedrock-runtime": "3.1126.0",
48
+ "@bufbuild/protobuf": "2.14.1",
49
+ "@f5-sales-demo/pi-utils": "21.25.0",
50
+ "@google/genai": "2.21.0",
51
+ "@sinclair/typebox": "0.34.52",
52
+ "@smithy/node-http-handler": "4.12.1",
53
53
  "ajv": "^8.20",
54
54
  "ajv-formats": "^3.0",
55
- "google-auth-library": "^10.3",
56
- "openai": "^6.25",
55
+ "google-auth-library": "10.9.1",
56
+ "openai": "7.9.0",
57
57
  "partial-json": "^0.1",
58
- "zod": "^4.3"
58
+ "zod": "4.5.4"
59
59
  },
60
60
  "devDependencies": {
61
- "@types/bun": "^1.3"
61
+ "@types/bun": "1.4.2"
62
62
  },
63
63
  "engines": {
64
- "bun": ">=1.3.7"
64
+ "bun": ">=1.4.2"
65
65
  },
66
66
  "files": [
67
67
  "src",
@@ -335,6 +335,7 @@ export function mapStopReason(reason: FinishReason): StopReason {
335
335
  case FinishReason.MALFORMED_FUNCTION_CALL:
336
336
  case FinishReason.UNEXPECTED_TOOL_CALL:
337
337
  case FinishReason.NO_IMAGE:
338
+ case FinishReason.TOO_MANY_TOOL_CALLS:
338
339
  return "error";
339
340
  default: {
340
341
  const _exhaustive: never = reason;
@@ -20,7 +20,7 @@ export interface InputItem {
20
20
  role?: string;
21
21
  content?: unknown;
22
22
  call_id?: string | null;
23
- name?: string;
23
+ name?: string | null;
24
24
  output?: unknown;
25
25
  arguments?: unknown;
26
26
  }