Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
fix(web): describe what Ultracode does in the Reasoning picker (#6092)
delltrak39167eb1a586
diff --git a/apps/server/src/provider/Layers/ClaudeProvider.ts b/apps/server/src/provider/Layers/ClaudeProvider.tsindex 977f7d42d..b08b5db68 100644--- a/apps/server/src/provider/Layers/ClaudeProvider.ts+++ b/apps/server/src/provider/Layers/ClaudeProvider.ts@@ -78,7 +78,11 @@ const CLAUDE_MODEL_CATALOG: ReadonlyArray<ServerProviderModel> = [{ value: "high", label: "High", isDefault: true },{ value: "xhigh", label: "Extra High" },{ value: "max", label: "Max" },- { value: "ultracode", label: "Ultracode" },+ {+ value: "ultracode",+ label: "Ultracode",+ description: "xhigh effort plus multi-agent workflow orchestration",+ },{ value: "ultrathink", label: "Ultrathink" },],promptInjectedValues: ["ultrathink"],@@ -109,7 +113,11 @@ const CLAUDE_MODEL_CATALOG: ReadonlyArray<ServerProviderModel> = [{ value: "high", label: "High", isDefault: true },{ value: "xhigh", label: "Extra High" },{ value: "max", label: "Max" },- { value: "ultracode", label: "Ultracode" },+ {+ value: "ultracode",+ label: "Ultracode",+ description: "xhigh effort plus multi-agent workflow orchestration",+ },{ value: "ultrathink", label: "Ultrathink" },],promptInjectedValues: ["ultrathink"],@@ -145,7 +153,11 @@ const CLAUDE_MODEL_CATALOG: ReadonlyArray<ServerProviderModel> = [{ value: "high", label: "High", isDefault: true },{ value: "xhigh", label: "Extra High" },{ value: "max", label: "Max" },- { value: "ultracode", label: "Ultracode" },+ {+ value: "ultracode",+ label: "Ultracode",+ description: "xhigh effort plus multi-agent workflow orchestration",+ },{ value: "ultrathink", label: "Ultrathink" },],promptInjectedValues: ["ultrathink"],diff --git a/apps/server/src/provider/providerSnapshot.ts b/apps/server/src/provider/providerSnapshot.tsindex e741a7a2c..03b4cf4a3 100644--- a/apps/server/src/provider/providerSnapshot.ts+++ b/apps/server/src/provider/providerSnapshot.ts@@ -168,16 +168,22 @@ export function buildSelectOptionDescriptor(input: {readonly id: string;readonly label: string;readonly options:- | ReadonlyArray<{ value: string; label: string; isDefault?: boolean | undefined }>+ | ReadonlyArray<{+ value: string;+ label: string;+ description?: string | undefined;+ isDefault?: boolean | undefined;+ }>| undefined;readonly description?: string;readonly promptInjectedValues?: ReadonlyArray<string>;}) {- const options = (input.options ?? []).map((option) =>- option.isDefault- ? { id: option.value, label: option.label, isDefault: true }- : { id: option.value, label: option.label },- );+ const options = (input.options ?? []).map((option) => ({+ id: option.value,+ label: option.label,+ ...(option.description ? { description: option.description } : {}),+ ...(option.isDefault ? { isDefault: true } : {}),+ }));const currentValue = options.find((option) => option.isDefault)?.id;return {id: input.id,diff --git a/apps/web/src/components/chat/TraitsPicker.tsx b/apps/web/src/components/chat/TraitsPicker.tsxindex 846275770..924fbddea 100644--- a/apps/web/src/components/chat/TraitsPicker.tsx+++ b/apps/web/src/components/chat/TraitsPicker.tsx@@ -328,16 +328,23 @@ export const TraitsMenuContent = memo(function TraitsMenuContentImpl({closeOnClickdisabled={ultrathinkInBodyText && descriptor.id === primarySelectDescriptor?.id}>- <span className="flex w-full min-w-0 items-center justify-between gap-3">- <span className="min-w-0 truncate">- {option.label}- {option.isDefault ? (- <>- {" "}- <DefaultBadge />- </>- ) : null}+ <span className="flex w-full min-w-0 flex-col">+ <span className="flex w-full min-w-0 items-center justify-between gap-3">+ <span className="min-w-0 truncate">+ {option.label}+ {option.isDefault ? (+ <>+ {" "}+ <DefaultBadge />+ </>+ ) : null}+ </span></span>+ {option.description ? (+ <span className="max-w-56 text-pretty text-muted-foreground/80 text-xs">+ {option.description}+ </span>+ ) : null}</span></MenuRadioItem>))}