@f5-sales-demo/pi-ai 20.4.4 → 20.4.5
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/model-thinking.ts +7 -0
- package/src/models.json +2 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@f5-sales-demo/pi-ai",
|
|
4
|
-
"version": "20.4.
|
|
4
|
+
"version": "20.4.5",
|
|
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",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@anthropic-ai/sdk": "^0.115",
|
|
47
47
|
"@aws-sdk/client-bedrock-runtime": "^3",
|
|
48
48
|
"@bufbuild/protobuf": "^2.11",
|
|
49
|
-
"@f5-sales-demo/pi-utils": "20.4.
|
|
49
|
+
"@f5-sales-demo/pi-utils": "20.4.5",
|
|
50
50
|
"@google/genai": "^2.15",
|
|
51
51
|
"@sinclair/typebox": "^0.34",
|
|
52
52
|
"@smithy/node-http-handler": "^4.4",
|
package/src/model-thinking.ts
CHANGED
|
@@ -362,6 +362,13 @@ function applyAnthropicCatalogPolicy(model: ApiModel<Api>, parsedModel: Anthropi
|
|
|
362
362
|
}
|
|
363
363
|
|
|
364
364
|
function applyOpenAICatalogPolicy(model: ApiModel<Api>, parsedModel: OpenAIModel): void {
|
|
365
|
+
// LiteLLM's GPT-5.6 Sol route accepts image input, but upstream catalog
|
|
366
|
+
// metadata currently reports text only. Keep this correction exact so other
|
|
367
|
+
// providers and GPT-5.6 variants retain their advertised capabilities.
|
|
368
|
+
if (model.provider === "litellm" && model.id === "gpt-5.6-sol") {
|
|
369
|
+
model.input = ["text", "image"];
|
|
370
|
+
}
|
|
371
|
+
|
|
365
372
|
// Codex models: 400K figure includes output budget; input window is 272K.
|
|
366
373
|
if (parsedModel.variant.startsWith("codex") && parsedModel.variant !== "codex-spark") {
|
|
367
374
|
model.contextWindow = 272000;
|
package/src/models.json
CHANGED
|
@@ -16599,7 +16599,8 @@
|
|
|
16599
16599
|
"baseUrl": "http://localhost:4000/v1",
|
|
16600
16600
|
"reasoning": true,
|
|
16601
16601
|
"input": [
|
|
16602
|
-
"text"
|
|
16602
|
+
"text",
|
|
16603
|
+
"image"
|
|
16603
16604
|
],
|
|
16604
16605
|
"cost": {
|
|
16605
16606
|
"input": 0,
|