@f5-sales-demo/pi-ai 21.24.0 → 21.24.4
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.
|
|
4
|
+
"version": "21.24.4",
|
|
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": "
|
|
47
|
-
"@aws-sdk/client-bedrock-runtime": "
|
|
48
|
-
"@bufbuild/protobuf": "
|
|
49
|
-
"@f5-sales-demo/pi-utils": "21.24.
|
|
50
|
-
"@google/genai": "
|
|
51
|
-
"@sinclair/typebox": "
|
|
52
|
-
"@smithy/node-http-handler": "
|
|
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.24.4",
|
|
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": "
|
|
56
|
-
"openai": "
|
|
55
|
+
"google-auth-library": "10.9.1",
|
|
56
|
+
"openai": "7.9.0",
|
|
57
57
|
"partial-json": "^0.1",
|
|
58
|
-
"zod": "
|
|
58
|
+
"zod": "4.5.4"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@types/bun": "
|
|
61
|
+
"@types/bun": "1.4.2"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
|
-
"bun": ">=1.
|
|
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;
|