Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
feat(ui): label Claude 1M context models
Call White7cd5a90496e2
diff --git a/modules/agents/opencode/utils.py b/modules/agents/opencode/utils.pyindex 41cfac835..ae0cefbd6 100644--- a/modules/agents/opencode/utils.py+++ b/modules/agents/opencode/utils.py@@ -323,6 +323,7 @@ def build_reasoning_effort_options(_CODEX_REASONING_EFFORTS = ["minimal", "low", "medium", "high", "xhigh"]_CLAUDE_REASONING_EFFORTS = ["low", "medium", "high"]+_CLAUDE_1M_CONTEXT_LABEL = "[1M]"def _supports_claude_xhigh_reasoning(target_model: Optional[str]) -> bool:@@ -349,6 +350,28 @@ def _supports_claude_max_reasoning(target_model: Optional[str]) -> bool:)+def supports_claude_1m_context(target_model: Optional[str]) -> bool:+ normalized_model = (target_model or "").strip().lower()+ if not normalized_model:+ return False+ return (+ normalized_model in {"opus", "opus[1m]", "sonnet", "sonnet[1m]"}+ or normalized_model.startswith("claude-opus-4-6")+ or normalized_model.startswith("claude-opus-4-7")+ or normalized_model.startswith("claude-opus-4-8")+ or normalized_model.startswith("claude-sonnet-4-6")+ )+++def format_claude_model_label(model: object) -> str:+ model_id = str(model or "").strip()+ if not model_id:+ return model_id+ if supports_claude_1m_context(model_id):+ return f"{model_id} {_CLAUDE_1M_CONTEXT_LABEL}"+ return model_id++def build_codex_reasoning_options() -> List[Dict[str, str]]:"""Return the canonical Codex reasoning-effort option list.diff --git a/modules/im/discord.py b/modules/im/discord.pyindex d8134274d..8ae5ae3d2 100644--- a/modules/im/discord.py+++ b/modules/im/discord.py@@ -24,6 +24,7 @@ from modules.agents.opencode.utils import (build_claude_reasoning_options,build_opencode_model_option_items,build_codex_reasoning_options,+ format_claude_model_label,build_reasoning_effort_options,resolve_opencode_allowed_providers,resolve_opencode_default_model,@@ -1683,7 +1684,7 @@ class DiscordBot(BaseIMClient):]model_options += [discord.SelectOption(- label=_prefixed_label("discord.labels.model", m),+ label=_prefixed_label("discord.labels.model", format_claude_model_label(m)),value=m,default=m == self.claude_model,)diff --git a/modules/im/feishu.py b/modules/im/feishu.pyindex 5b4df19c9..3723c10d0 100644--- a/modules/im/feishu.py+++ b/modules/im/feishu.py@@ -24,6 +24,7 @@ from vibe.i18n import get_supported_languages, t as i18n_tfrom modules.agents.opencode.utils import (build_claude_reasoning_options,build_codex_reasoning_options,+ format_claude_model_label,build_opencode_model_option_items,build_reasoning_effort_options,resolve_opencode_allowed_providers,@@ -2603,7 +2604,9 @@ class FeishuBot(BaseIMClient):cl_model_options = [{"text": {"tag": "plain_text", "content": "(Default)"}, "value": "__default__"}]for m in claude_models:mid = m if isinstance(m, str) else m.get("id", str(m))- cl_model_options.append({"text": {"tag": "plain_text", "content": mid}, "value": mid})+ cl_model_options.append(+ {"text": {"tag": "plain_text", "content": format_claude_model_label(mid)}, "value": mid}+ )form_elements.append({"tag": "markdown", "content": t("modal.routing.model")})form_elements.append({diff --git a/modules/im/slack.py b/modules/im/slack.pyindex 3408801e3..f56e3b769 100644--- a/modules/im/slack.py+++ b/modules/im/slack.py@@ -31,6 +31,7 @@ from modules.agents.opencode.utils import (build_claude_reasoning_options,build_opencode_model_option_items,build_codex_reasoning_options,+ format_claude_model_label,build_reasoning_effort_options,resolve_opencode_allowed_providers,resolve_opencode_provider_preferences,@@ -3477,18 +3478,20 @@ class SlackBot(BaseIMClient):]for model in claude_models:if model:+ model_label = format_claude_model_label(model)cl_model_options.append({- "text": {"type": "plain_text", "text": model[:75]},+ "text": {"type": "plain_text", "text": model_label[:75]},"value": model,})# Add current model if not in list (preserve custom models)if current_cl_model and not any(opt["value"] == current_cl_model for opt in cl_model_options):+ model_label = format_claude_model_label(current_cl_model)cl_model_options.append({- "text": {"type": "plain_text", "text": current_cl_model[:75]},+ "text": {"type": "plain_text", "text": model_label[:75]},"value": current_cl_model,})diff --git a/modules/im/telegram.py b/modules/im/telegram.pyindex 3536ac050..fea84ad49 100644--- a/modules/im/telegram.py+++ b/modules/im/telegram.py@@ -15,6 +15,7 @@ from core import chat_discoveryfrom vibe.i18n import get_supported_languages, t as i18n_tfrom vibe.proxy import resolve_proxyfrom modules.agents.native_sessions import AgentNativeSessionService, NativeResumeSession+from modules.agents.opencode.utils import format_claude_model_labelfrom .base import BaseIMClient, FileAttachment, MessageContext, InlineButton, InlineKeyboardfrom .formatters import TelegramFormatter@@ -1464,7 +1465,9 @@ class TelegramBot(BaseIMClient):names.append(name)return [(self._t("common.default"), None)] + [(name, name) for name in names]if field == "claude_model":- return [(self._t("common.default"), None)] + [(str(model), str(model)) for model in state.claude_models]+ return [(self._t("common.default"), None)] + [+ (format_claude_model_label(model), str(model)) for model in state.claude_models+ ]if field == "claude_reasoning_effort":return [(diff --git a/tests/test_claude_reasoning_options.py b/tests/test_claude_reasoning_options.pyindex 5b7b7f8fb..2dd97db05 100644--- a/tests/test_claude_reasoning_options.py+++ b/tests/test_claude_reasoning_options.py@@ -18,6 +18,7 @@ def _load_utils_module():_utils = _load_utils_module()build_claude_reasoning_options = _utils.build_claude_reasoning_options+format_claude_model_label = _utils.format_claude_model_labelnormalize_claude_reasoning_effort = _utils.normalize_claude_reasoning_effort@@ -81,3 +82,14 @@ def test_normalize_claude_reasoning_effort_drops_invalid_efforts() -> None:assert normalize_claude_reasoning_effort("claude-sonnet-4-6", "max") == "max"assert normalize_claude_reasoning_effort("opus", "xhigh") == "xhigh"assert normalize_claude_reasoning_effort("opus", "max") == "max"+++def test_claude_1m_context_labels() -> None:+ assert format_claude_model_label("claude-opus-4-8") == "claude-opus-4-8 [1M]"+ assert format_claude_model_label("claude-opus-4-7") == "claude-opus-4-7 [1M]"+ assert format_claude_model_label("claude-opus-4-6") == "claude-opus-4-6 [1M]"+ assert format_claude_model_label("claude-sonnet-4-6") == "claude-sonnet-4-6 [1M]"+ assert format_claude_model_label("opus[1m]") == "opus[1m] [1M]"+ assert format_claude_model_label("sonnet") == "sonnet [1M]"+ assert format_claude_model_label("sonnet[1m]") == "sonnet[1m] [1M]"+ assert format_claude_model_label("claude-opus-4-5") == "claude-opus-4-5"diff --git a/tests/test_ui_api.py b/tests/test_ui_api.pyindex c324de7f3..24f5f8716 100644--- a/tests/test_ui_api.py+++ b/tests/test_ui_api.py@@ -1571,6 +1571,12 @@ def test_claude_models_merge_catalog_and_settings(monkeypatch, tmp_path):assert "opus[1m]" in result["models"]assert "claude-haiku-4-5-20251001" in result["models"]assert result["models"].count("claude-sonnet-4-6") == 1+ assert result["model_labels"]["claude-opus-4-6"] == "claude-opus-4-6 [1M]"+ assert result["model_labels"]["claude-sonnet-4-6"] == "claude-sonnet-4-6 [1M]"+ assert result["model_labels"]["opus"] == "opus [1M]"+ assert result["model_labels"]["sonnet"] == "sonnet [1M]"+ assert result["model_labels"]["opus[1m]"] == "opus[1m] [1M]"+ assert "claude-opus-4-5" not in result["model_labels"]assert [item["value"] for item in result["reasoning_options"]["opus"]] == ["__default__","low",@@ -1671,6 +1677,7 @@ def test_agent_model_options_claude_strips_default_and_marks_default(monkeypatchlambda: {"ok": True,"models": ["claude-opus-4-8", "claude-sonnet-4-6"],+ "model_labels": {"claude-opus-4-8": "claude-opus-4-8 [1M]"},"reasoning_options": {"claude-opus-4-8": [{"value": "__default__", "label": "(Default)"},@@ -1694,6 +1701,8 @@ def test_agent_model_options_claude_strips_default_and_marks_default(monkeypatchby_value = {m["value"]: m for m in result["models"]}# the UI "__default__" sentinel is stripped from the CLI-facing listassert by_value["claude-opus-4-8"]["reasoning_efforts"] == ["low", "max"]+ assert by_value["claude-opus-4-8"]["label"] == "claude-opus-4-8 [1M]"+ assert by_value["claude-sonnet-4-6"]["label"] == "claude-sonnet-4-6"assert by_value["claude-opus-4-8"]["default"] is Trueassert by_value["claude-sonnet-4-6"]["default"] is Falsediff --git a/ui/src/components/shared/RoutingConfigPanel.tsx b/ui/src/components/shared/RoutingConfigPanel.tsxindex b0d0a43f5..066a68a3e 100644--- a/ui/src/components/shared/RoutingConfigPanel.tsx+++ b/ui/src/components/shared/RoutingConfigPanel.tsx@@ -6,6 +6,7 @@ import { Combobox } from '../ui/combobox';import { Input } from '@/components/ui/input';import { BackendIcon } from '../visual';import { CompactSelect } from '../settings/SettingsPrimitives';+import { modelOptionLabel } from '../../lib/backendModels';// Mirrors design.pen `asPXu` (VR/RoutingConfig). Shared between groups (channels)// and users — same form, same fields, same styles. The only difference is whether@@ -53,6 +54,7 @@ export interface RoutingConfigPanelProps {opencodeOptions?: any;claudeAgents?: { id: string; name: string }[];claudeModels?: string[];+ claudeModelLabels?: Record<string, string>;claudeReasoningOptions?: Record<string, { value: string; label: string }[]>;codexAgents?: { id: string; name: string }[];codexModels?: string[];@@ -91,6 +93,7 @@ export const RoutingConfigPanel: React.FC<RoutingConfigPanelProps> = ({defaultAgentName,opencodeOptions,claudeModels = [],+ claudeModelLabels = {},claudeReasoningOptions = {},codexModels = [],footerActions,@@ -201,7 +204,13 @@ export const RoutingConfigPanel: React.FC<RoutingConfigPanelProps> = ({: t('channelList.codexModelPlaceholder');return (<Combobox- options={[{ value: '', label: t('common.default') }, ...models.map(m => ({ value: m, label: m }))]}+ options={[+ { value: '', label: t('common.default') },+ ...models.map(m => ({+ value: m,+ label: effectiveBackend === 'claude' ? modelOptionLabel(m, claudeModelLabels) : m,+ })),+ ]}value={value.routing.model || ''}onValueChange={(v) => onChange({routing: buildModelRoutingPatch(v || null),diff --git a/ui/src/components/steps/ChannelList.tsx b/ui/src/components/steps/ChannelList.tsxindex 0f1ce72c5..4838a235b 100644--- a/ui/src/components/steps/ChannelList.tsx+++ b/ui/src/components/steps/ChannelList.tsx@@ -125,6 +125,7 @@ export const ChannelList: React.FC<ChannelListProps> = ({ data = {}, onNext, onBconst [claudeAgentsByCwd, setClaudeAgentsByCwd] = useState<Record<string, { id: string; name: string; path: string; source?: string }[]>>({});const [codexAgentsByCwd, setCodexAgentsByCwd] = useState<Record<string, { id: string; name: string; path: string; source?: string; description?: string }[]>>({});const [claudeModels, setClaudeModels] = useState<string[]>([]);+ const [claudeModelLabels, setClaudeModelLabels] = useState<Record<string, string>>({});const [claudeReasoningOptions, setClaudeReasoningOptions] = useState<Record<string, { value: string; label: string }[]>>({});const [codexModels, setCodexModels] = useState<string[]>([]);const [guilds, setGuilds] = useState<any[]>([]);@@ -546,6 +547,7 @@ export const ChannelList: React.FC<ChannelListProps> = ({ data = {}, onNext, onBconst result = await api.claudeModels();if (result.ok) {setClaudeModels(result.models || []);+ setClaudeModelLabels(result.model_labels || {});setClaudeReasoningOptions(result.reasoning_options || {});}} catch (e) {@@ -1406,6 +1408,7 @@ export const ChannelList: React.FC<ChannelListProps> = ({ data = {}, onNext, onBopencodeOptions={opencodeOptions}claudeAgents={claudeAgents}claudeModels={claudeModels}+ claudeModelLabels={claudeModelLabels}claudeReasoningOptions={claudeReasoningOptions}codexAgents={codexAgents}codexModels={codexModels}@@ -1773,6 +1776,7 @@ export const ChannelList: React.FC<ChannelListProps> = ({ data = {}, onNext, onBopencodeOptions={opencodeOptions}claudeAgents={claudeAgents}claudeModels={claudeModels}+ claudeModelLabels={claudeModelLabels}claudeReasoningOptions={claudeReasoningOptions}codexAgents={codexAgents}codexModels={codexModels}diff --git a/ui/src/components/steps/UserList.tsx b/ui/src/components/steps/UserList.tsxindex 7b7bcb6db..14f5f19e7 100644--- a/ui/src/components/steps/UserList.tsx+++ b/ui/src/components/steps/UserList.tsx@@ -454,6 +454,7 @@ export const UserList: React.FC = () => {const [claudeAgentsByCwd, setClaudeAgentsByCwd] = useState<Record<string, any[]>>({});const [codexAgentsByCwd, setCodexAgentsByCwd] = useState<Record<string, any[]>>({});const [claudeModels, setClaudeModels] = useState<string[]>([]);+ const [claudeModelLabels, setClaudeModelLabels] = useState<Record<string, string>>({});const [claudeReasoningOptions, setClaudeReasoningOptions] = useState<Record<string, { value: string; label: string }[]>>({});const [codexModels, setCodexModels] = useState<string[]>([]);const [browsingCwdFor, setBrowsingCwdFor] = useState<string | null>(null);@@ -526,6 +527,7 @@ export const UserList: React.FC = () => {api.claudeModels().then((r) => {if (r.ok) {setClaudeModels(r.models || []);+ setClaudeModelLabels(r.model_labels || {});setClaudeReasoningOptions(r.reasoning_options || {});}});@@ -888,6 +890,7 @@ export const UserList: React.FC = () => {opencodeOptions={opencodeOptions}claudeAgents={claudeAgents}claudeModels={claudeModels}+ claudeModelLabels={claudeModelLabels}claudeReasoningOptions={claudeReasoningOptions}codexAgents={codexAgents}codexModels={codexModels}diff --git a/ui/src/components/workbench/AgentRoutePicker.tsx b/ui/src/components/workbench/AgentRoutePicker.tsxindex 6506288f1..e22092ca9 100644--- a/ui/src/components/workbench/AgentRoutePicker.tsx+++ b/ui/src/components/workbench/AgentRoutePicker.tsx@@ -6,7 +6,7 @@ import clsx from 'clsx';import { useApi } from '../../context/ApiContext';import type { VibeAgentBrief } from '../../context/ApiContext';-import { fetchBackendModels } from '../../lib/backendModels';+import { fetchBackendModels, modelOptionLabel } from '../../lib/backendModels';import { resolveEffortOptions } from '../../lib/effortOptions';import { Popover, PopoverContent, PopoverTrigger } from '../ui/popover';import { Button } from '../ui/button';@@ -81,6 +81,7 @@ export const AgentRoutePicker: React.FC<AgentRoutePickerProps> = ({const navigate = useNavigate();const [open, setOpen] = useState(false);const [modelsByBackend, setModelsByBackend] = useState<Record<string, string[]>>({});+ const [modelLabelsByBackend, setModelLabelsByBackend] = useState<Record<string, Record<string, string>>>({});// Claude reasoning efforts are MODEL-specific (newer Opus/Sonnet add xhigh/max),// so the backend returns them keyed by model. Cached so the effort column offers// exactly the efforts the selected model supports.@@ -159,10 +160,11 @@ export const AgentRoutePicker: React.FC<AgentRoutePickerProps> = ({setLoadingModels(true);(async () => {try {- const { models, reasoningOptions } = await fetchBackendModels(api, backend);+ const { models, modelLabels, reasoningOptions } = await fetchBackendModels(api, backend);if (!cancelled) {if (reasoningOptions) setClaudeReasoning(reasoningOptions);setModelsByBackend((prev) => ({ ...prev, [backend]: models }));+ setModelLabelsByBackend((prev) => ({ ...prev, [backend]: modelLabels ?? {} }));}} catch {if (!cancelled) setModelsByBackend((prev) => ({ ...prev, [backend]: [] }));@@ -176,6 +178,7 @@ export const AgentRoutePicker: React.FC<AgentRoutePickerProps> = ({}, [open, backend, api, modelsByBackend]);const models = modelsByBackend[backend] ?? [];+ const modelLabels = modelLabelsByBackend[backend] ?? {};const effortOptions = useMemo(() => resolveEffortOptions(backend, currentModel, claudeReasoning),[backend, currentModel, claudeReasoning],@@ -333,7 +336,7 @@ export const AgentRoutePicker: React.FC<AgentRoutePickerProps> = ({void applyPatch(patch);}}>- <span className="flex-1 truncate font-mono text-[11px]">{model}</span>+ <span className="flex-1 truncate font-mono text-[11px]">{modelOptionLabel(model, modelLabels)}</span></RouteItem>)))}diff --git a/ui/src/components/workbench/AgentsPage.tsx b/ui/src/components/workbench/AgentsPage.tsxindex e931a64d3..ba5391772 100644--- a/ui/src/components/workbench/AgentsPage.tsx+++ b/ui/src/components/workbench/AgentsPage.tsx@@ -34,7 +34,7 @@ import { Textarea } from '../ui/textarea';import { EditorDialog } from '../ui/editor-dialog';import { Popover, PopoverContent, PopoverTrigger } from '../ui/popover';import { estimateTokens } from '../../lib/tokenEstimate';-import { fetchBackendModels } from '../../lib/backendModels';+import { fetchBackendModels, modelOptionLabel } from '../../lib/backendModels';import { resolveEffortOptions } from '../../lib/effortOptions';import { WorkbenchPageHeader } from './WorkbenchPageHeader';import { CapabilityTabs } from './CapabilityTabs';@@ -547,9 +547,9 @@ const AgentDetailPanel: React.FC<DetailProps> = ({ agent, isDefault, onChange, olet cancelled = false;async function loadModels() {try {- const { models, reasoningOptions: opts } = await fetchBackendModels(api, agent.backend);+ const { models, modelLabels, reasoningOptions: opts } = await fetchBackendModels(api, agent.backend);if (!cancelled) {- setModelOptions(models.map((m) => ({ value: m, label: m })));+ setModelOptions(models.map((m) => ({ value: m, label: modelOptionLabel(m, modelLabels) })));setReasoningOptions(opts ?? {});}} catch {diff --git a/ui/src/components/workbench/NewAgentDialog.tsx b/ui/src/components/workbench/NewAgentDialog.tsxindex 8173c818b..efedd6345 100644--- a/ui/src/components/workbench/NewAgentDialog.tsx+++ b/ui/src/components/workbench/NewAgentDialog.tsx@@ -5,7 +5,7 @@ import clsx from 'clsx';import { useApi } from '../../context/ApiContext';import type { VibeAgentFull } from '../../context/ApiContext';-import { fetchBackendModels } from '../../lib/backendModels';+import { fetchBackendModels, modelOptionLabel } from '../../lib/backendModels';import { resolveEffortOptions } from '../../lib/effortOptions';import { estimateTokens } from '../../lib/tokenEstimate';import { Combobox } from '../ui/combobox';@@ -80,9 +80,9 @@ export const NewAgentDialog: React.FC<NewAgentDialogProps> = ({ open, onClose, olet cancelled = false;async function loadModels() {try {- const { models, reasoningOptions: opts } = await fetchBackendModels(api, backend);+ const { models, modelLabels, reasoningOptions: opts } = await fetchBackendModels(api, backend);if (!cancelled) {- setModelOptions(models.map((m) => ({ value: m, label: m })));+ setModelOptions(models.map((m) => ({ value: m, label: modelOptionLabel(m, modelLabels) })));setReasoningOptions(opts ?? {});// Clear model when the backend changes if the previous choice// isn't in the new catalog — avoids silently mismatched pairs.diff --git a/ui/src/context/ApiContext.tsx b/ui/src/context/ApiContext.tsxindex e576e9f1d..0b72642fd 100644--- a/ui/src/context/ApiContext.tsx+++ b/ui/src/context/ApiContext.tsx@@ -125,7 +125,7 @@ export type ApiContextType = {opencodeSetupPermission: () => Promise<{ ok: boolean; message: string; config_path: string }>;opencodePermissionStatus: () => Promise<{ ok: boolean; permission_allowed: boolean; config_path: string }>;claudeAgents: (cwd?: string) => Promise<{ ok: boolean; agents?: { id: string; name: string; path: string; source?: string }[]; error?: string }>;- claudeModels: () => Promise<{ ok: boolean; models?: string[]; reasoning_options?: Record<string, { value: string; label: string }[]>; error?: string }>;+ claudeModels: () => Promise<{ ok: boolean; models?: string[]; reasoning_options?: Record<string, { value: string; label: string }[]>; model_labels?: Record<string, string>; error?: string }>;codexAgents: (cwd?: string) => Promise<{ ok: boolean; agents?: { id: string; name: string; path: string; source?: string; description?: string }[]; error?: string }>;codexModels: () => Promise<{ ok: boolean; models?: string[]; error?: string }>;getLogs: (lines?: number, source?: string) => Promise<{ logs: LogEntry[]; total: number; source: string; sources: LogSource[] }>;diff --git a/ui/src/lib/backendModels.ts b/ui/src/lib/backendModels.tsindex 1d7c020da..113196ab4 100644--- a/ui/src/lib/backendModels.ts+++ b/ui/src/lib/backendModels.ts@@ -3,10 +3,16 @@ import type { ApiContextType } from '../context/ApiContext';export interface BackendModels {/** Selectable model identifiers for the backend. */models: string[];+ /** Optional display labels keyed by model identifier; values remain raw ids. */+ modelLabels?: Record<string, string>;/** Per-model reasoning-effort option sets (Claude only); undefined elsewhere. */reasoningOptions?: Record<string, { value: string; label: string }[]>;}+export function modelOptionLabel(model: string, labels?: Record<string, string>): string {+ return labels?.[model] || model;+}+// Single source of truth for "list the selectable models for a backend",// shared by ChatPage, the Agents detail panel, and the New Agent dialog so a// new backend (or a fix like OpenCode's provider-prefixing) lands in one place.@@ -28,6 +34,7 @@ export async function fetchBackendModels(const res = await api.claudeModels();return {models: res.ok && res.models ? res.models : [],+ modelLabels: res.model_labels,reasoningOptions: res.reasoning_options,};}diff --git a/vibe/api.py b/vibe/api.pyindex d00c19a6b..ac034b851 100644--- a/vibe/api.py+++ b/vibe/api.py@@ -2275,12 +2275,21 @@ def claude_models() -> dict:except Exception as exc:logger.warning("Failed to read Claude settings.json: %s", exc, exc_info=True)- from modules.agents.opencode.utils import build_claude_reasoning_options+ from modules.agents.opencode.utils import build_claude_reasoning_options, format_claude_model_labelreasoning_options = {"": build_claude_reasoning_options(None)}+ model_labels = {}for model in options:reasoning_options[model] = build_claude_reasoning_options(model)- return {"ok": True, "models": options, "reasoning_options": reasoning_options}+ label = format_claude_model_label(model)+ if label != model:+ model_labels[model] = label+ return {+ "ok": True,+ "models": options,+ "reasoning_options": reasoning_options,+ "model_labels": model_labels,+ }def _effort_values(reasoning_entries: object) -> list[str]:@@ -2316,6 +2325,7 @@ def _flat_catalog_models(catalog: dict, default_model: Optional[str]) -> list[dimodels.append({"value": model_id,+ "label": (catalog.get("model_labels") or {}).get(model_id, model_id),"default": bool(default_model) and model_id == default_model,"reasoning_efforts": _effort_values(reasoning_map.get(model_id)),}