@ai-sdk/openai
Advanced tools
Comparing version 0.0.71 to 0.0.72
@@ -379,3 +379,3 @@ "use strict"; | ||
}) { | ||
var _a, _b, _c, _d, _e, _f, _g; | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _i; | ||
const type = mode.type; | ||
@@ -428,2 +428,3 @@ const warnings = []; | ||
metadata: (_f = (_e = providerMetadata == null ? void 0 : providerMetadata.openai) == null ? void 0 : _e.metadata) != null ? _f : void 0, | ||
prediction: (_h = (_g = providerMetadata == null ? void 0 : providerMetadata.openai) == null ? void 0 : _g.prediction) != null ? _h : void 0, | ||
// response format: | ||
@@ -470,3 +471,3 @@ response_format: (responseFormat == null ? void 0 : responseFormat.type) === "json" ? { type: "json_object" } : void 0, | ||
strict: true, | ||
name: (_g = mode.name) != null ? _g : "response", | ||
name: (_i = mode.name) != null ? _i : "response", | ||
description: mode.description | ||
@@ -473,0 +474,0 @@ } |
# @ai-sdk/openai | ||
## 0.0.72 | ||
### Patch Changes | ||
- 0bc4115: feat (provider/openai): support predicted outputs | ||
## 0.0.71 | ||
@@ -4,0 +10,0 @@ |
@@ -379,3 +379,3 @@ "use strict"; | ||
}) { | ||
var _a, _b, _c, _d, _e, _f, _g; | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _i; | ||
const type = mode.type; | ||
@@ -428,2 +428,3 @@ const warnings = []; | ||
metadata: (_f = (_e = providerMetadata == null ? void 0 : providerMetadata.openai) == null ? void 0 : _e.metadata) != null ? _f : void 0, | ||
prediction: (_h = (_g = providerMetadata == null ? void 0 : providerMetadata.openai) == null ? void 0 : _g.prediction) != null ? _h : void 0, | ||
// response format: | ||
@@ -470,3 +471,3 @@ response_format: (responseFormat == null ? void 0 : responseFormat.type) === "json" ? { type: "json_object" } : void 0, | ||
strict: true, | ||
name: (_g = mode.name) != null ? _g : "response", | ||
name: (_i = mode.name) != null ? _i : "response", | ||
description: mode.description | ||
@@ -473,0 +474,0 @@ } |
@@ -376,3 +376,3 @@ "use strict"; | ||
}) { | ||
var _a, _b, _c, _d, _e, _f, _g; | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _i; | ||
const type = mode.type; | ||
@@ -425,2 +425,3 @@ const warnings = []; | ||
metadata: (_f = (_e = providerMetadata == null ? void 0 : providerMetadata.openai) == null ? void 0 : _e.metadata) != null ? _f : void 0, | ||
prediction: (_h = (_g = providerMetadata == null ? void 0 : providerMetadata.openai) == null ? void 0 : _g.prediction) != null ? _h : void 0, | ||
// response format: | ||
@@ -467,3 +468,3 @@ response_format: (responseFormat == null ? void 0 : responseFormat.type) === "json" ? { type: "json_object" } : void 0, | ||
strict: true, | ||
name: (_g = mode.name) != null ? _g : "response", | ||
name: (_i = mode.name) != null ? _i : "response", | ||
description: mode.description | ||
@@ -470,0 +471,0 @@ } |
{ | ||
"name": "@ai-sdk/openai", | ||
"version": "0.0.71", | ||
"version": "0.0.72", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
649959
7519
14