Genkit JS API reference
    Preparing search index...
    • Validates that a GenerateRequest does not include unsupported features.

      Parameters

      • options: {
            name: string;
            supports?: {
                constrained?: "all" | "none" | "no-tools";
                contentType?: string[];
                context?: boolean;
                media?: boolean;
                multiturn?: boolean;
                output?: string[];
                systemRole?: boolean;
                toolChoice?: boolean;
                tools?: boolean;
            };
        }

      Returns ModelMiddleware