@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.mjs CHANGED
@@ -1320,7 +1320,6 @@ var LLMGatewayChatLanguageModel = class {
1320
1320
  tools,
1321
1321
  toolChoice
1322
1322
  }) {
1323
- var _a15;
1324
1323
  const baseArgs = __spreadValues(__spreadValues({
1325
1324
  // model id:
1326
1325
  model: this.modelId,
@@ -1354,10 +1353,10 @@ var LLMGatewayChatLanguageModel = class {
1354
1353
  response_format: {
1355
1354
  type: "json_schema",
1356
1355
  json_schema: {
1357
- name: responseFormat.schema.name || "response",
1358
- description: responseFormat.schema.description,
1356
+ name: responseFormat.name || "response",
1357
+ description: responseFormat.description,
1359
1358
  schema: responseFormat.schema,
1360
- strict: (_a15 = responseFormat.schema.strict) != null ? _a15 : true
1359
+ strict: true
1361
1360
  }
1362
1361
  }
1363
1362
  });