@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.
@@ -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.schema.name || "response",
1313
- description: responseFormat.schema.description,
1311
+ name: responseFormat.name || "response",
1312
+ description: responseFormat.description,
1314
1313
  schema: responseFormat.schema,
1315
- strict: (_a15 = responseFormat.schema.strict) != null ? _a15 : true
1314
+ strict: true
1316
1315
  }
1317
1316
  }
1318
1317
  });