@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 CHANGED
@@ -2370,21 +2370,21 @@ var azureOpenAIManifest = {
2370
2370
  label: "API Key",
2371
2371
  type: "password",
2372
2372
  required: true,
2373
- help: "Azure OpenAI resource key. Find it in the Azure portal under your OpenAI resource \u2192 Keys and Endpoint."
2373
+ 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."
2374
2374
  },
2375
2375
  {
2376
2376
  name: "endpoint",
2377
2377
  label: "Endpoint",
2378
2378
  type: "url",
2379
2379
  required: true,
2380
- help: "Resource endpoint URL, e.g. https://my-resource.openai.azure.com. Shown in the Azure portal alongside the keys."
2380
+ 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."
2381
2381
  },
2382
2382
  {
2383
2383
  name: "deployment",
2384
2384
  label: "Deployment Name",
2385
2385
  type: "text",
2386
2386
  required: true,
2387
- help: "The name you chose for the deployment in Azure AI Studio (NOT the underlying model id \u2014 deployments can be named anything)."
2387
+ 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."
2388
2388
  },
2389
2389
  {
2390
2390
  name: "apiVersion",
@@ -2392,7 +2392,7 @@ var azureOpenAIManifest = {
2392
2392
  type: "text",
2393
2393
  required: true,
2394
2394
  default: "2025-03-01-preview",
2395
- help: "Data-plane api-version, e.g. 2025-03-01-preview. Microsoft rolls these frequently; newer gpt-5 / o-series deployments require an api-version that supports the Responses API (2025-03-01-preview or later). See Azure OpenAI API reference docs for the current recommended version."
2395
+ 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."
2396
2396
  }
2397
2397
  ]
2398
2398
  }
@@ -2464,7 +2464,16 @@ var AzureOpenAIAdapter = class {
2464
2464
  // The newer name is a superset — also accepted by gpt-4o, gpt-4-turbo,
2465
2465
  // and gpt-3.5-turbo deployments — so it's the safe choice for a probe
2466
2466
  // that has to work regardless of the underlying deployment model.
2467
- max_completion_tokens: 1,
2467
+ //
2468
+ // 256 (not 1): reasoning models consume reasoning tokens BEFORE
2469
+ // visible output, all counted against this cap. With 1 the model
2470
+ // can't produce any output and Azure returns
2471
+ // `400 Could not finish the message because max_tokens or model
2472
+ // output limit was reached`. 256 is comfortable headroom for
2473
+ // reasoning + a "pong"-sized reply on every model we ship in the
2474
+ // manifest, while still bounded so the probe can't run away on a
2475
+ // misconfigured deployment.
2476
+ max_completion_tokens: 256,
2468
2477
  stream: false
2469
2478
  });
2470
2479
  }