@f5xc-salesdemos/pi-ai 18.5.2 → 18.5.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 +2 -2
- package/src/types.ts +2 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@f5xc-salesdemos/pi-ai",
|
|
4
|
-
"version": "18.5.
|
|
4
|
+
"version": "18.5.4",
|
|
5
5
|
"description": "Unified LLM API with automatic model discovery and provider configuration",
|
|
6
6
|
"homepage": "https://github.com/f5xc-salesdemos/xcsh",
|
|
7
7
|
"author": "Can Boluk",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@aws-sdk/client-bedrock-runtime": "^3",
|
|
46
46
|
"@bufbuild/protobuf": "^2.11",
|
|
47
47
|
"@google/genai": "^1.43",
|
|
48
|
-
"@f5xc-salesdemos/pi-utils": "18.5.
|
|
48
|
+
"@f5xc-salesdemos/pi-utils": "18.5.4",
|
|
49
49
|
"@sinclair/typebox": "^0.34",
|
|
50
50
|
"@smithy/node-http-handler": "^4.4",
|
|
51
51
|
"ajv": "^8.18",
|
package/src/types.ts
CHANGED
|
@@ -357,6 +357,8 @@ export interface ToolResultMessage<TDetails = any> {
|
|
|
357
357
|
content: (TextContent | ImageContent)[]; // Supports text and images
|
|
358
358
|
details?: TDetails;
|
|
359
359
|
isError: boolean;
|
|
360
|
+
/** Set when the tool completed normally but produced a degraded or empty result. */
|
|
361
|
+
isWarning?: boolean;
|
|
360
362
|
/** Who initiated this message for billing/attribution semantics. */
|
|
361
363
|
attribution?: MessageAttribution;
|
|
362
364
|
/** Timestamp when output was pruned (ms since epoch). Undefined if unpruned. */
|