@shop-os/modelkit 0.2.13 → 0.2.14

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.cts CHANGED
@@ -432,6 +432,11 @@ interface CallContext {
432
432
  /** "enterprise" picks keys.enterprise when every key for the provider is set, else falls back to pro. */
433
433
  tier?: "pro" | "enterprise";
434
434
  signal?: AbortSignal;
435
+ /** Media retries after the initial request. Set 0 when a durable host owns recovery.
436
+ * Unset preserves adapter defaults. Successful pending-job polls are not retries.
437
+ * Text methods use the AI SDK options.maxRetries instead.
438
+ */
439
+ maxRetries?: number;
435
440
  onUnsupported?: "error" | "coerce";
436
441
  }
437
442
 
package/dist/index.d.ts CHANGED
@@ -432,6 +432,11 @@ interface CallContext {
432
432
  /** "enterprise" picks keys.enterprise when every key for the provider is set, else falls back to pro. */
433
433
  tier?: "pro" | "enterprise";
434
434
  signal?: AbortSignal;
435
+ /** Media retries after the initial request. Set 0 when a durable host owns recovery.
436
+ * Unset preserves adapter defaults. Successful pending-job polls are not retries.
437
+ * Text methods use the AI SDK options.maxRetries instead.
438
+ */
439
+ maxRetries?: number;
435
440
  onUnsupported?: "error" | "coerce";
436
441
  }
437
442