@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.mjs
CHANGED
|
@@ -1275,7 +1275,6 @@ var LLMGatewayChatLanguageModel = class {
|
|
|
1275
1275
|
tools,
|
|
1276
1276
|
toolChoice
|
|
1277
1277
|
}) {
|
|
1278
|
-
var _a15;
|
|
1279
1278
|
const baseArgs = __spreadValues(__spreadValues({
|
|
1280
1279
|
// model id:
|
|
1281
1280
|
model: this.modelId,
|
|
@@ -1309,10 +1308,10 @@ var LLMGatewayChatLanguageModel = class {
|
|
|
1309
1308
|
response_format: {
|
|
1310
1309
|
type: "json_schema",
|
|
1311
1310
|
json_schema: {
|
|
1312
|
-
name: responseFormat.
|
|
1313
|
-
description: responseFormat.
|
|
1311
|
+
name: responseFormat.name || "response",
|
|
1312
|
+
description: responseFormat.description,
|
|
1314
1313
|
schema: responseFormat.schema,
|
|
1315
|
-
strict:
|
|
1314
|
+
strict: true
|
|
1316
1315
|
}
|
|
1317
1316
|
}
|
|
1318
1317
|
});
|