@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.
@@ -2324,21 +2324,21 @@ var azureOpenAIManifest = {
2324
2324
  label: "API Key",
2325
2325
  type: "password",
2326
2326
  required: true,
2327
- help: "Azure OpenAI resource key. Find it in the Azure portal under your OpenAI resource \u2192 Keys and Endpoint."
2327
+ 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."
2328
2328
  },
2329
2329
  {
2330
2330
  name: "endpoint",
2331
2331
  label: "Endpoint",
2332
2332
  type: "url",
2333
2333
  required: true,
2334
- help: "Resource endpoint URL, e.g. https://my-resource.openai.azure.com. Shown in the Azure portal alongside the keys."
2334
+ 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."
2335
2335
  },
2336
2336
  {
2337
2337
  name: "deployment",
2338
2338
  label: "Deployment Name",
2339
2339
  type: "text",
2340
2340
  required: true,
2341
- help: "The name you chose for the deployment in Azure AI Studio (NOT the underlying model id \u2014 deployments can be named anything)."
2341
+ 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."
2342
2342
  },
2343
2343
  {
2344
2344
  name: "apiVersion",
@@ -2346,7 +2346,7 @@ var azureOpenAIManifest = {
2346
2346
  type: "text",
2347
2347
  required: true,
2348
2348
  default: "2025-03-01-preview",
2349
- 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."
2349
+ 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."
2350
2350
  }
2351
2351
  ]
2352
2352
  }
@@ -2418,7 +2418,16 @@ var AzureOpenAIAdapter = class {
2418
2418
  // The newer name is a superset — also accepted by gpt-4o, gpt-4-turbo,
2419
2419
  // and gpt-3.5-turbo deployments — so it's the safe choice for a probe
2420
2420
  // that has to work regardless of the underlying deployment model.
2421
- max_completion_tokens: 1,
2421
+ //
2422
+ // 256 (not 1): reasoning models consume reasoning tokens BEFORE
2423
+ // visible output, all counted against this cap. With 1 the model
2424
+ // can't produce any output and Azure returns
2425
+ // `400 Could not finish the message because max_tokens or model
2426
+ // output limit was reached`. 256 is comfortable headroom for
2427
+ // reasoning + a "pong"-sized reply on every model we ship in the
2428
+ // manifest, while still bounded so the probe can't run away on a
2429
+ // misconfigured deployment.
2430
+ max_completion_tokens: 256,
2422
2431
  stream: false
2423
2432
  });
2424
2433
  }