@ai-sdk/openai 3.0.0-beta.86 → 3.0.0-beta.87
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 +8 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +1 -0
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +1 -0
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/internal/index.js
CHANGED
|
@@ -1632,6 +1632,7 @@ var OpenAIEmbeddingModel = class {
|
|
|
1632
1632
|
fetch: this.config.fetch
|
|
1633
1633
|
});
|
|
1634
1634
|
return {
|
|
1635
|
+
warnings: [],
|
|
1635
1636
|
embeddings: response.data.map((item) => item.embedding),
|
|
1636
1637
|
usage: response.usage ? { tokens: response.usage.prompt_tokens } : void 0,
|
|
1637
1638
|
response: { headers: responseHeaders, body: rawValue }
|