@f5xc-salesdemos/pi-ai 19.27.0 → 19.28.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": "@f5xc-salesdemos/pi-ai",
4
- "version": "19.27.0",
4
+ "version": "19.28.0",
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": "19.27.0",
48
+ "@f5xc-salesdemos/pi-utils": "19.28.0",
49
49
  "@sinclair/typebox": "^0.34",
50
50
  "@smithy/node-http-handler": "^4.4",
51
51
  "ajv": "^8.20",
@@ -1436,6 +1436,9 @@ function buildParams(
1436
1436
  params.output_config = { effort };
1437
1437
  }
1438
1438
  }
1439
+ // Anthropic requires temperature=1 when thinking is enabled; override any
1440
+ // caller-supplied value (e.g. temperature=0 set for deterministic non-interactive mode).
1441
+ params.temperature = 1;
1439
1442
  }
1440
1443
 
1441
1444
  const metadataUserId = resolveAnthropicMetadataUserId(options?.metadata?.user_id, isOAuthToken);