@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.
@@ -2357,21 +2357,21 @@ var azureOpenAIManifest = {
2357
2357
  label: "API Key",
2358
2358
  type: "password",
2359
2359
  required: true,
2360
- help: "Azure OpenAI resource key. Find it in the Azure portal under your OpenAI resource \u2192 Keys and Endpoint."
2360
+ 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."
2361
2361
  },
2362
2362
  {
2363
2363
  name: "endpoint",
2364
2364
  label: "Endpoint",
2365
2365
  type: "url",
2366
2366
  required: true,
2367
- help: "Resource endpoint URL, e.g. https://my-resource.openai.azure.com. Shown in the Azure portal alongside the keys."
2367
+ 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."
2368
2368
  },
2369
2369
  {
2370
2370
  name: "deployment",
2371
2371
  label: "Deployment Name",
2372
2372
  type: "text",
2373
2373
  required: true,
2374
- help: "The name you chose for the deployment in Azure AI Studio (NOT the underlying model id \u2014 deployments can be named anything)."
2374
+ 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."
2375
2375
  },
2376
2376
  {
2377
2377
  name: "apiVersion",
@@ -2379,7 +2379,7 @@ var azureOpenAIManifest = {
2379
2379
  type: "text",
2380
2380
  required: true,
2381
2381
  default: "2025-03-01-preview",
2382
- 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."
2382
+ 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."
2383
2383
  }
2384
2384
  ]
2385
2385
  }
@@ -2451,7 +2451,16 @@ var AzureOpenAIAdapter = class {
2451
2451
  // The newer name is a superset — also accepted by gpt-4o, gpt-4-turbo,
2452
2452
  // and gpt-3.5-turbo deployments — so it's the safe choice for a probe
2453
2453
  // that has to work regardless of the underlying deployment model.
2454
- max_completion_tokens: 1,
2454
+ //
2455
+ // 256 (not 1): reasoning models consume reasoning tokens BEFORE
2456
+ // visible output, all counted against this cap. With 1 the model
2457
+ // can't produce any output and Azure returns
2458
+ // `400 Could not finish the message because max_tokens or model
2459
+ // output limit was reached`. 256 is comfortable headroom for
2460
+ // reasoning + a "pong"-sized reply on every model we ship in the
2461
+ // manifest, while still bounded so the probe can't run away on a
2462
+ // misconfigured deployment.
2463
+ max_completion_tokens: 256,
2455
2464
  stream: false
2456
2465
  });
2457
2466
  }