@f5-sales-demo/pi-ai 19.105.0 → 19.105.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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [19.105.1] - 2026-07-31
6
+
7
+ ### Fixed
8
+
9
+ - Fixed GPT-5.6 Sol requests to omit the unsupported temperature parameter ([#2698](https://github.com/f5-sales-demo/xcsh/issues/2698))
10
+
5
11
  ## [19.104.0] - 2026-07-31
6
12
 
7
13
  ### Added
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@f5-sales-demo/pi-ai",
4
- "version": "19.105.0",
4
+ "version": "19.105.2",
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",
@@ -45,7 +45,7 @@
45
45
  "@aws-sdk/client-bedrock-runtime": "^3",
46
46
  "@bufbuild/protobuf": "^2.11",
47
47
  "@google/genai": "^2.13",
48
- "@f5-sales-demo/pi-utils": "19.105.0",
48
+ "@f5-sales-demo/pi-utils": "19.105.2",
49
49
  "@sinclair/typebox": "^0.34",
50
50
  "@smithy/node-http-handler": "^4.4",
51
51
  "ajv": "^8.20",
package/src/models.json CHANGED
@@ -16563,6 +16563,9 @@
16563
16563
  "mode": "effort",
16564
16564
  "minLevel": "high",
16565
16565
  "maxLevel": "high"
16566
+ },
16567
+ "compat": {
16568
+ "supportsTemperature": false
16566
16569
  }
16567
16570
  },
16568
16571
  "grok-4-1-fast-non-reasoning": {
@@ -87,6 +87,7 @@ export function detectOpenAICompat(model: Model<"openai-completions">, resolvedB
87
87
 
88
88
  return {
89
89
  supportsStore: !isNonStandard,
90
+ supportsTemperature: model.id.toLowerCase() !== "gpt-5.6-sol",
90
91
  supportsDeveloperRole: !isNonStandard,
91
92
  supportsReasoningEffort: !isGrok && !isZai,
92
93
  reasoningEffortMap,
@@ -133,6 +134,7 @@ export function resolveOpenAICompat(
133
134
 
134
135
  return {
135
136
  supportsStore: model.compat.supportsStore ?? detected.supportsStore,
137
+ supportsTemperature: model.compat.supportsTemperature ?? detected.supportsTemperature,
136
138
  supportsDeveloperRole: model.compat.supportsDeveloperRole ?? detected.supportsDeveloperRole,
137
139
  supportsReasoningEffort: model.compat.supportsReasoningEffort ?? detected.supportsReasoningEffort,
138
140
  reasoningEffortMap: model.compat.reasoningEffortMap ?? detected.reasoningEffortMap,
@@ -693,7 +693,7 @@ function buildParams(
693
693
  }
694
694
  }
695
695
 
696
- if (options?.temperature !== undefined) {
696
+ if (options?.temperature !== undefined && compat.supportsTemperature) {
697
697
  params.temperature = options.temperature;
698
698
  }
699
699
  if (options?.topP !== undefined) {
package/src/types.ts CHANGED
@@ -498,6 +498,8 @@ export type AssistantMessageEvent =
498
498
  export interface OpenAICompat {
499
499
  /** Whether the provider supports the `store` field. Default: auto-detected from URL. */
500
500
  supportsStore?: boolean;
501
+ /** Whether the model accepts an explicit `temperature` parameter. Default: true. */
502
+ supportsTemperature?: boolean;
501
503
  /** Whether the provider supports the `developer` role (vs `system`). Default: auto-detected from URL. */
502
504
  supportsDeveloperRole?: boolean;
503
505
  /** Whether the provider supports `reasoning_effort`. Default: auto-detected from URL. */