@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/index.js
CHANGED
|
@@ -1355,7 +1355,6 @@ var LLMGatewayChatLanguageModel = class {
|
|
|
1355
1355
|
tools,
|
|
1356
1356
|
toolChoice
|
|
1357
1357
|
}) {
|
|
1358
|
-
var _a15;
|
|
1359
1358
|
const baseArgs = __spreadValues(__spreadValues({
|
|
1360
1359
|
// model id:
|
|
1361
1360
|
model: this.modelId,
|
|
@@ -1389,10 +1388,10 @@ var LLMGatewayChatLanguageModel = class {
|
|
|
1389
1388
|
response_format: {
|
|
1390
1389
|
type: "json_schema",
|
|
1391
1390
|
json_schema: {
|
|
1392
|
-
name: responseFormat.
|
|
1393
|
-
description: responseFormat.
|
|
1391
|
+
name: responseFormat.name || "response",
|
|
1392
|
+
description: responseFormat.description,
|
|
1394
1393
|
schema: responseFormat.schema,
|
|
1395
|
-
strict:
|
|
1394
|
+
strict: true
|
|
1396
1395
|
}
|
|
1397
1396
|
}
|
|
1398
1397
|
});
|