@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.
@@ -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.schema.name || "response",
1348
- description: responseFormat.schema.description,
1346
+ name: responseFormat.name || "response",
1347
+ description: responseFormat.description,
1349
1348
  schema: responseFormat.schema,
1350
- strict: (_a15 = responseFormat.schema.strict) != null ? _a15 : true
1349
+ strict: true
1351
1350
  }
1352
1351
  }
1353
1352
  });