@ai-sdk/openai-compatible 2.0.60 → 2.0.62
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 +13 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/chat/openai-compatible-chat-language-model.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @ai-sdk/openai-compatible
|
|
2
2
|
|
|
3
|
+
## 2.0.62
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [19093fd]
|
|
8
|
+
- @ai-sdk/provider-utils@4.0.40
|
|
9
|
+
|
|
10
|
+
## 2.0.61
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 94fda5c: Preserve structured error data from chat completion SSE streams.
|
|
15
|
+
|
|
3
16
|
## 2.0.60
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -702,7 +702,7 @@ var OpenAICompatibleChatLanguageModel = class {
|
|
|
702
702
|
finishReason = { unified: "error", raw: void 0 };
|
|
703
703
|
controller.enqueue({
|
|
704
704
|
type: "error",
|
|
705
|
-
error: chunk.value.error
|
|
705
|
+
error: chunk.value.error
|
|
706
706
|
});
|
|
707
707
|
return;
|
|
708
708
|
}
|
|
@@ -1718,7 +1718,7 @@ async function fileToBlob(file) {
|
|
|
1718
1718
|
var import_provider_utils6 = require("@ai-sdk/provider-utils");
|
|
1719
1719
|
|
|
1720
1720
|
// src/version.ts
|
|
1721
|
-
var VERSION = true ? "2.0.
|
|
1721
|
+
var VERSION = true ? "2.0.62" : "0.0.0-test";
|
|
1722
1722
|
|
|
1723
1723
|
// src/openai-compatible-provider.ts
|
|
1724
1724
|
function createOpenAICompatible(options) {
|