@jambonz/llm 0.4.2 → 0.4.3
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/dist/index.cjs +14 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +14 -5
- package/dist/index.js.map +1 -1
- package/dist/test-kit/index.cjs +14 -5
- package/dist/test-kit/index.cjs.map +1 -1
- package/dist/test-kit/index.js +14 -5
- package/dist/test-kit/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2331,21 +2331,21 @@ var azureOpenAIManifest = {
|
|
|
2331
2331
|
label: "API Key",
|
|
2332
2332
|
type: "password",
|
|
2333
2333
|
required: true,
|
|
2334
|
-
help: "Azure
|
|
2334
|
+
help: "In Azure AI Foundry, open the deployment and copy the Key from the Endpoint panel (eye icon to reveal). Same key is shown in the Azure portal under your OpenAI resource \u2192 Keys and Endpoint."
|
|
2335
2335
|
},
|
|
2336
2336
|
{
|
|
2337
2337
|
name: "endpoint",
|
|
2338
2338
|
label: "Endpoint",
|
|
2339
2339
|
type: "url",
|
|
2340
2340
|
required: true,
|
|
2341
|
-
help: "Resource
|
|
2341
|
+
help: "Resource hostname only \u2014 no path, no query string. Example: https://my-resource.openai.azure.com. The Foundry deployment page shows a Target URI like https://my-resource.openai.azure.com/openai/responses?api-version=\u2026 Strip everything from /openai/ onward and paste only the part before it."
|
|
2342
2342
|
},
|
|
2343
2343
|
{
|
|
2344
2344
|
name: "deployment",
|
|
2345
2345
|
label: "Deployment Name",
|
|
2346
2346
|
type: "text",
|
|
2347
2347
|
required: true,
|
|
2348
|
-
help: "The
|
|
2348
|
+
help: "The Name shown at the top of the deployment page in Azure AI Foundry (also under Deployment info \u2192 Name). NOT the underlying model id \u2014 deployments can be named anything you chose at create time."
|
|
2349
2349
|
},
|
|
2350
2350
|
{
|
|
2351
2351
|
name: "apiVersion",
|
|
@@ -2353,7 +2353,7 @@ var azureOpenAIManifest = {
|
|
|
2353
2353
|
type: "text",
|
|
2354
2354
|
required: true,
|
|
2355
2355
|
default: "2025-03-01-preview",
|
|
2356
|
-
help: "Data-plane api-version,
|
|
2356
|
+
help: "Data-plane api-version. Visible in Foundry as the ?api-version=\u2026 query string in the Target URI, or the api_version=\u2026 line in the Python sample. The default 2025-03-01-preview is the minimum that works with gpt-5 / o-series deployments \u2014 Azure routes those through the Responses API internally and rejects older versions."
|
|
2357
2357
|
}
|
|
2358
2358
|
]
|
|
2359
2359
|
}
|
|
@@ -2425,7 +2425,16 @@ var AzureOpenAIAdapter = class {
|
|
|
2425
2425
|
// The newer name is a superset — also accepted by gpt-4o, gpt-4-turbo,
|
|
2426
2426
|
// and gpt-3.5-turbo deployments — so it's the safe choice for a probe
|
|
2427
2427
|
// that has to work regardless of the underlying deployment model.
|
|
2428
|
-
|
|
2428
|
+
//
|
|
2429
|
+
// 256 (not 1): reasoning models consume reasoning tokens BEFORE
|
|
2430
|
+
// visible output, all counted against this cap. With 1 the model
|
|
2431
|
+
// can't produce any output and Azure returns
|
|
2432
|
+
// `400 Could not finish the message because max_tokens or model
|
|
2433
|
+
// output limit was reached`. 256 is comfortable headroom for
|
|
2434
|
+
// reasoning + a "pong"-sized reply on every model we ship in the
|
|
2435
|
+
// manifest, while still bounded so the probe can't run away on a
|
|
2436
|
+
// misconfigured deployment.
|
|
2437
|
+
max_completion_tokens: 256,
|
|
2429
2438
|
stream: false
|
|
2430
2439
|
});
|
|
2431
2440
|
}
|