@broberg/ai-sdk 0.73.0 → 0.74.1
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/chunk-WDGXCBD2.js +477 -0
- package/dist/chunk-WDGXCBD2.js.map +1 -0
- package/dist/index.d.ts +28 -8
- package/dist/index.js +84 -10
- package/dist/index.js.map +1 -1
- package/dist/pricing.d.ts +1 -1
- package/dist/pricing.js +1 -1
- package/dist/{registry-CCKJyveA.d.ts → registry-Dwe4cmUM.d.ts} +2 -0
- package/dist/registry.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-XKN2PYBQ.js +0 -477
- package/dist/chunk-XKN2PYBQ.js.map +0 -1
package/dist/pricing.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ interface MediaPrice {
|
|
|
22
22
|
* ONE date for the table rather than trusting every row's own: a row added later
|
|
23
23
|
* with a fresh date would otherwise pull the table's average forward while the
|
|
24
24
|
* older rows sat unrevised. Freshness reads the OLDEST answer, and this is it. */
|
|
25
|
-
declare const MEDIA_PRICING_CHECKED_AT = "2026-
|
|
25
|
+
declare const MEDIA_PRICING_CHECKED_AT = "2026-11-17";
|
|
26
26
|
/** Default clip length billed when the caller passes no `durationSec`.
|
|
27
27
|
*
|
|
28
28
|
* It is an ASSUMPTION, not a measurement — the provider does not tell us how long
|
package/dist/pricing.js
CHANGED
|
@@ -344,6 +344,8 @@ interface CallOptions {
|
|
|
344
344
|
interface ChatRequest {
|
|
345
345
|
messages: Message[];
|
|
346
346
|
spec: TierSpec;
|
|
347
|
+
/** F090 — abort the provider request (timeoutMs / caller signal combined). */
|
|
348
|
+
signal?: AbortSignal;
|
|
347
349
|
tools?: Tool[];
|
|
348
350
|
maxTokens?: number;
|
|
349
351
|
/** F039 — Mistral prompt caching. A stable application-level id for "the same
|
package/dist/registry.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { q as AvailabilitySource, r as AvailabilityStatus, Q as ModelStatus, S as ModelUnavailableError, _ as ResolveOptions, $ as ResolveResult, a1 as TierDescription, a8 as describeTier, a9 as listModels, ac as resolveModel } from './registry-
|
|
1
|
+
export { q as AvailabilitySource, r as AvailabilityStatus, Q as ModelStatus, S as ModelUnavailableError, _ as ResolveOptions, $ as ResolveResult, a1 as TierDescription, a8 as describeTier, a9 as listModels, ac as resolveModel } from './registry-Dwe4cmUM.js';
|
package/package.json
CHANGED