@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/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -1605,6 +1605,7 @@ var OpenAIEmbeddingModel = class {
|
|
|
1605
1605
|
fetch: this.config.fetch
|
|
1606
1606
|
});
|
|
1607
1607
|
return {
|
|
1608
|
+
warnings: [],
|
|
1608
1609
|
embeddings: response.data.map((item) => item.embedding),
|
|
1609
1610
|
usage: response.usage ? { tokens: response.usage.prompt_tokens } : void 0,
|
|
1610
1611
|
response: { headers: responseHeaders, body: rawValue }
|
|
@@ -5403,7 +5404,7 @@ var OpenAITranscriptionModel = class {
|
|
|
5403
5404
|
};
|
|
5404
5405
|
|
|
5405
5406
|
// src/version.ts
|
|
5406
|
-
var VERSION = true ? "3.0.0-beta.
|
|
5407
|
+
var VERSION = true ? "3.0.0-beta.87" : "0.0.0-test";
|
|
5407
5408
|
|
|
5408
5409
|
// src/openai-provider.ts
|
|
5409
5410
|
function createOpenAI(options = {}) {
|