diff --git a/apps/web/components/settings/company-brain-models.tsx b/apps/web/components/settings/company-brain-models.tsx index 37815ef2..ca4e395b 100644 --- a/apps/web/components/settings/company-brain-models.tsx +++ b/apps/web/components/settings/company-brain-models.tsx @@ -51,12 +51,19 @@ const MODEL_TAGS: Record = { } const EFFORT_LABELS: Record = { + auto: "Auto", low: "Low", medium: "Medium", high: "High", xhigh: "Extra high", } +const AUTO_EFFORT_HELP: Record = { + main: "Chooses Low, Medium, or High per request based on complexity. Manual choices skip the decider and use fixed effort, subject to provider limits.", + triage: "Uses the selected model provider's default thinking depth.", + research: "Uses the selected model provider's default thinking depth.", +} + const ROWS: { role: BrainModelRole effortKey: BrainReasoningKey @@ -443,7 +450,7 @@ export default function CompanyBrainModels({ } className={cn( dmSans125ClassName(), - "h-7 min-w-0 flex-1 cursor-pointer rounded-full px-1 text-[11.5px] font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-50", + "h-7 min-w-0 flex-1 cursor-pointer whitespace-nowrap rounded-full px-1 text-[11.5px] font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-50", isOn ? "bg-white/[0.10] text-[#FAFAFA]" : "text-[#8B929E] hover:text-[#FAFAFA]", @@ -454,9 +461,8 @@ export default function CompanyBrainModels({ ) })} -
- Faster - Smarter +
+ Manual: faster → smarter

- {effortHelp} + {currentEffort === "auto" + ? AUTO_EFFORT_HELP[role] + : effortHelp}

{currentEffort === "xhigh" && extraHighIsBounded(current) ? ( diff --git a/apps/web/hooks/use-brain-models.ts b/apps/web/hooks/use-brain-models.ts index 95651d52..5e5c0545 100644 --- a/apps/web/hooks/use-brain-models.ts +++ b/apps/web/hooks/use-brain-models.ts @@ -7,7 +7,7 @@ const BACKEND = const BASE = `${BACKEND}/brain/models` export type BrainModelRole = "main" | "triage" | "research" -export type BrainReasoningEffort = "low" | "medium" | "high" | "xhigh" +export type BrainReasoningEffort = "auto" | "low" | "medium" | "high" | "xhigh" export type BrainReasoningKey = "mainEffort" | "triageEffort" | "researchEffort" export type BrainModelConfig = Record &