@ai-sdk/provider-utils 4.0.48 → 4.0.49
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/dist/index.d.mts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/embedding-model-capabilities.ts +9 -0
- package/src/index.ts +1 -0
package/dist/index.mjs
CHANGED
|
@@ -631,6 +631,11 @@ async function downloadBlob(url, options) {
|
|
|
631
631
|
}
|
|
632
632
|
}
|
|
633
633
|
|
|
634
|
+
// src/embedding-model-capabilities.ts
|
|
635
|
+
var EMBEDDING_MODEL_MAX_INPUT_BYTES_PER_CALL = /* @__PURE__ */ Symbol.for(
|
|
636
|
+
"vercel.ai.embeddingModel.maxInputBytesPerCall"
|
|
637
|
+
);
|
|
638
|
+
|
|
634
639
|
// src/generate-id.ts
|
|
635
640
|
import { InvalidArgumentError } from "@ai-sdk/provider";
|
|
636
641
|
var createIdGenerator = ({
|
|
@@ -793,7 +798,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
|
|
|
793
798
|
}
|
|
794
799
|
|
|
795
800
|
// src/version.ts
|
|
796
|
-
var VERSION = true ? "4.0.
|
|
801
|
+
var VERSION = true ? "4.0.49" : "0.0.0-test";
|
|
797
802
|
|
|
798
803
|
// src/get-from-api.ts
|
|
799
804
|
var getOriginalFetch = () => globalThis.fetch;
|
|
@@ -3028,6 +3033,7 @@ export {
|
|
|
3028
3033
|
DEFAULT_MAX_DOWNLOAD_SIZE,
|
|
3029
3034
|
DelayedPromise,
|
|
3030
3035
|
DownloadError,
|
|
3036
|
+
EMBEDDING_MODEL_MAX_INPUT_BYTES_PER_CALL as EXPERIMENTAL_EMBEDDING_MODEL_MAX_INPUT_BYTES_PER_CALL,
|
|
3031
3037
|
EventSourceParserStream2 as EventSourceParserStream,
|
|
3032
3038
|
VERSION,
|
|
3033
3039
|
asSchema,
|