@ai-sdk/openai-compatible 3.0.5 → 3.0.7

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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # @ai-sdk/openai-compatible
2
2
 
3
+ ## 3.0.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [0f93c57]
8
+ - @ai-sdk/provider@4.0.3
9
+ - @ai-sdk/provider-utils@5.0.7
10
+
11
+ ## 3.0.6
12
+
13
+ ### Patch Changes
14
+
15
+ - ac306ed: Fix `StreamingToolCallTracker` finalizing streaming tool calls on parsable partial JSON. Tool calls now only finalize during stream flush, restoring the behavior of #13137: a parsable argument buffer can still be the prefix of a longer argument string, so finalizing early could act on truncated tool inputs.
16
+ - Updated dependencies [ac306ed]
17
+ - @ai-sdk/provider-utils@5.0.6
18
+
3
19
  ## 3.0.5
4
20
 
5
21
  ### Patch Changes
package/dist/index.js CHANGED
@@ -1784,7 +1784,7 @@ import {
1784
1784
  } from "@ai-sdk/provider-utils";
1785
1785
 
1786
1786
  // src/version.ts
1787
- var VERSION = true ? "3.0.5" : "0.0.0-test";
1787
+ var VERSION = true ? "3.0.7" : "0.0.0-test";
1788
1788
 
1789
1789
  // src/openai-compatible-provider.ts
1790
1790
  function createOpenAICompatible(options) {
package/docs/index.mdx CHANGED
@@ -23,21 +23,7 @@ The general setup and provider instance creation is the same for all of these pr
23
23
 
24
24
  The OpenAI Compatible provider is available via the `@ai-sdk/openai-compatible` module. You can install it with:
25
25
 
26
- <Tabs items={['pnpm', 'npm', 'yarn', 'bun']}>
27
- <Tab>
28
- <Snippet text="pnpm add @ai-sdk/openai-compatible" dark />
29
- </Tab>
30
- <Tab>
31
- <Snippet text="npm install @ai-sdk/openai-compatible" dark />
32
- </Tab>
33
- <Tab>
34
- <Snippet text="yarn add @ai-sdk/openai-compatible" dark />
35
- </Tab>
36
-
37
- <Tab>
38
- <Snippet text="bun add @ai-sdk/openai-compatible" dark />
39
- </Tab>
40
- </Tabs>
26
+ <InstallPackages packages="@ai-sdk/openai-compatible" />
41
27
 
42
28
  ## Provider Instance
43
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/openai-compatible",
3
- "version": "3.0.5",
3
+ "version": "3.0.7",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,
@@ -35,8 +35,8 @@
35
35
  }
36
36
  },
37
37
  "dependencies": {
38
- "@ai-sdk/provider-utils": "5.0.5",
39
- "@ai-sdk/provider": "4.0.2"
38
+ "@ai-sdk/provider": "4.0.3",
39
+ "@ai-sdk/provider-utils": "5.0.7"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/node": "22.19.19",