@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/internal/index.mjs
CHANGED
|
@@ -1604,6 +1604,7 @@ var OpenAIEmbeddingModel = class {
|
|
|
1604
1604
|
fetch: this.config.fetch
|
|
1605
1605
|
});
|
|
1606
1606
|
return {
|
|
1607
|
+
warnings: [],
|
|
1607
1608
|
embeddings: response.data.map((item) => item.embedding),
|
|
1608
1609
|
usage: response.usage ? { tokens: response.usage.prompt_tokens } : void 0,
|
|
1609
1610
|
response: { headers: responseHeaders, body: rawValue }
|
|
@@ -3563,8 +3564,8 @@ import {
|
|
|
3563
3564
|
import { z as z19 } from "zod/v4";
|
|
3564
3565
|
var comparisonFilterSchema = z19.object({
|
|
3565
3566
|
key: z19.string(),
|
|
3566
|
-
type: z19.enum(["eq", "ne", "gt", "gte", "lt", "lte"]),
|
|
3567
|
-
value: z19.union([z19.string(), z19.number(), z19.boolean()])
|
|
3567
|
+
type: z19.enum(["eq", "ne", "gt", "gte", "lt", "lte", "in", "nin"]),
|
|
3568
|
+
value: z19.union([z19.string(), z19.number(), z19.boolean(), z19.array(z19.string())])
|
|
3568
3569
|
});
|
|
3569
3570
|
var compoundFilterSchema = z19.object({
|
|
3570
3571
|
type: z19.enum(["and", "or"]),
|