@ai-sdk/openai 4.0.8 → 4.0.9

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,13 @@
1
1
  # @ai-sdk/openai
2
2
 
3
+ ## 4.0.9
4
+
5
+ ### Patch Changes
6
+
7
+ - 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.
8
+ - Updated dependencies [ac306ed]
9
+ - @ai-sdk/provider-utils@5.0.6
10
+
3
11
  ## 4.0.8
4
12
 
5
13
  ### Patch Changes
package/dist/index.js CHANGED
@@ -8250,7 +8250,7 @@ var OpenAISkills = class {
8250
8250
  };
8251
8251
 
8252
8252
  // src/version.ts
8253
- var VERSION = true ? "4.0.8" : "0.0.0-test";
8253
+ var VERSION = true ? "4.0.9" : "0.0.0-test";
8254
8254
 
8255
8255
  // src/openai-provider.ts
8256
8256
  function createOpenAI(options = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/openai",
3
- "version": "4.0.8",
3
+ "version": "4.0.9",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@ai-sdk/provider": "4.0.2",
39
- "@ai-sdk/provider-utils": "5.0.5"
39
+ "@ai-sdk/provider-utils": "5.0.6"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/node": "22.19.19",