- validateSupport(
options: {
name: string;
supports?: {
constrained?: boolean;
contentType?: string[];
context?: boolean;
media?: boolean;
multiturn?: boolean;
output?: string[];
systemRole?: boolean;
toolChoice?: boolean;
tools?: boolean;
};
},
): ModelMiddleware Parameters
- options: {
name: string;
supports?: {
constrained?: boolean;
contentType?: string[];
context?: boolean;
media?: boolean;
multiturn?: boolean;
output?: string[];
systemRole?: boolean;
toolChoice?: boolean;
tools?: boolean;
};
}
Validates that a GenerateRequest does not include unsupported features.