@ai-sdk/openai 3.0.0-beta.86 → 3.0.0-beta.88
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 +14 -0
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.d.mts +4 -4
- package/dist/internal/index.d.ts +4 -4
- package/dist/internal/index.js +3 -2
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +3 -2
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -1612,6 +1612,7 @@ var OpenAIEmbeddingModel = class {
|
|
|
1612
1612
|
fetch: this.config.fetch
|
|
1613
1613
|
});
|
|
1614
1614
|
return {
|
|
1615
|
+
warnings: [],
|
|
1615
1616
|
embeddings: response.data.map((item) => item.embedding),
|
|
1616
1617
|
usage: response.usage ? { tokens: response.usage.prompt_tokens } : void 0,
|
|
1617
1618
|
response: { headers: responseHeaders, body: rawValue }
|
|
@@ -1861,8 +1862,8 @@ import {
|
|
|
1861
1862
|
import { z as z11 } from "zod/v4";
|
|
1862
1863
|
var comparisonFilterSchema = z11.object({
|
|
1863
1864
|
key: z11.string(),
|
|
1864
|
-
type: z11.enum(["eq", "ne", "gt", "gte", "lt", "lte"]),
|
|
1865
|
-
value: z11.union([z11.string(), z11.number(), z11.boolean()])
|
|
1865
|
+
type: z11.enum(["eq", "ne", "gt", "gte", "lt", "lte", "in", "nin"]),
|
|
1866
|
+
value: z11.union([z11.string(), z11.number(), z11.boolean(), z11.array(z11.string())])
|
|
1866
1867
|
});
|
|
1867
1868
|
var compoundFilterSchema = z11.object({
|
|
1868
1869
|
type: z11.enum(["and", "or"]),
|
|
@@ -5481,7 +5482,7 @@ var OpenAITranscriptionModel = class {
|
|
|
5481
5482
|
};
|
|
5482
5483
|
|
|
5483
5484
|
// src/version.ts
|
|
5484
|
-
var VERSION = true ? "3.0.0-beta.
|
|
5485
|
+
var VERSION = true ? "3.0.0-beta.88" : "0.0.0-test";
|
|
5485
5486
|
|
|
5486
5487
|
// src/openai-provider.ts
|
|
5487
5488
|
function createOpenAI(options = {}) {
|