Function: modelReasoningLevelsFor()
modelReasoningLevelsFor(
model):ReasoningLevel[]
Resolve reasoning levels: learned from errors, then documentation, then family defaults.
Does not parse error bodies; callers should use parseReasoningLevels and then rememberReasoningLevels.
Parameters
Section titled “Parameters”string | { class?: "chat-thinking" | "chat-balanced" | "chat-fast" | "embedding"; description?: string; dimension?: number; displayName?: string; family?: string; modelServiceName?: string; name: string; profile?: { cost?: number; quality?: number; speed?: number; }; reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max")[]; serviceNames?: Record<string, string>; state?: string; status?: { deprecated: boolean; }; supportsTools?: boolean; task?: string; }