@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/CHANGELOG.md +6 -0
- package/README.md +31 -2
- package/dist/catalog.cjs +3 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +5 -0
- package/dist/catalog.d.ts +5 -0
- package/dist/catalog.js +3 -1
- package/dist/catalog.js.map +1 -1
- package/dist/index.cjs +367 -156
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +367 -156
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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
|
|