@llmgateway/ai-sdk-provider 2.2.0 → 2.2.1
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/dist/index.js +3 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -4
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +3 -4
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +3 -4
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/internal/index.js
CHANGED
|
@@ -1310,7 +1310,6 @@ var LLMGatewayChatLanguageModel = class {
|
|
|
1310
1310
|
tools,
|
|
1311
1311
|
toolChoice
|
|
1312
1312
|
}) {
|
|
1313
|
-
var _a15;
|
|
1314
1313
|
const baseArgs = __spreadValues(__spreadValues({
|
|
1315
1314
|
// model id:
|
|
1316
1315
|
model: this.modelId,
|
|
@@ -1344,10 +1343,10 @@ var LLMGatewayChatLanguageModel = class {
|
|
|
1344
1343
|
response_format: {
|
|
1345
1344
|
type: "json_schema",
|
|
1346
1345
|
json_schema: {
|
|
1347
|
-
name: responseFormat.
|
|
1348
|
-
description: responseFormat.
|
|
1346
|
+
name: responseFormat.name || "response",
|
|
1347
|
+
description: responseFormat.description,
|
|
1349
1348
|
schema: responseFormat.schema,
|
|
1350
|
-
strict:
|
|
1349
|
+
strict: true
|
|
1351
1350
|
}
|
|
1352
1351
|
}
|
|
1353
1352
|
});
|