@mastra/schema-compat 1.1.1 → 1.1.2-alpha.0

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 CHANGED
@@ -5242,7 +5242,7 @@ var OpenAISchemaCompatLayer = class extends SchemaCompatLayer3 {
5242
5242
  return `jsonSchema7`;
5243
5243
  }
5244
5244
  shouldApply() {
5245
- if (!this.getModel().supportsStructuredOutputs && (this.getModel().provider.includes(`openai`) || this.getModel().modelId.includes(`openai`))) {
5245
+ if (!this.getModel().supportsStructuredOutputs && (this.getModel().provider.includes(`openai`) || this.getModel().modelId.includes(`openai`) || this.getModel().provider.includes(`groq`))) {
5246
5246
  return true;
5247
5247
  }
5248
5248
  return false;