• Validates that a GenerateRequest does not include unsupported features.

    Parameters

    • options: {
          name: string;
          supports?: {
              constrained?: boolean;
              contentType?: string[];
              context?: boolean;
              media?: boolean;
              multiturn?: boolean;
              output?: string[];
              systemRole?: boolean;
              toolChoice?: boolean;
              tools?: boolean;
          };
      }

    Returns ModelMiddleware