keyring-agent-core 0.2.40 → 0.2.41

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.d.ts CHANGED
@@ -1438,6 +1438,15 @@ interface ChatOptions {
1438
1438
  maxRetries?: number;
1439
1439
  /** Delay between retries in ms */
1440
1440
  retryDelayMs?: number;
1441
+ /**
1442
+ * Per-call cap on generated tokens, overriding the provider default
1443
+ * (`LLMProviderConfig.maxTokens`). Short structured turns — router/rewrite JSON,
1444
+ * language detection, yes/no guards, suggestion arrays — only need a few hundred
1445
+ * tokens; capping them lets the model stop sooner (fewer tokens to generate =
1446
+ * faster turn) instead of running up to the global 4096 budget. Leave unset to
1447
+ * use the provider default.
1448
+ */
1449
+ maxOutputTokens?: number;
1441
1450
  /**
1442
1451
  * Force the model to call one of the supplied `tools` instead of answering in
1443
1452
  * text (Gemini `functionCallingConfig.mode = "ANY"`). Used by action subagents