🙌 OpenHands: AI-Driven Development
refactor: rename default model routers to OpenHands Router Pro / Flash (#17782)
Juan Pedro Michelini Jorgef40da961d3df
diff --git a/.github/pr-assets/pr-17782-router-templates.png b/.github/pr-assets/pr-17782-router-templates.pngnew file mode 100644index 0000000000..c6080fa11dBinary files /dev/null and b/.github/pr-assets/pr-17782-router-templates.png differdiff --git a/__tests__/components/settings/meta-llm-profiles/meta-llm-settings-view.test.tsx b/__tests__/components/settings/meta-llm-profiles/meta-llm-settings-view.test.tsxindex 01255d42fc..7403fa5d50 100644--- a/__tests__/components/settings/meta-llm-profiles/meta-llm-settings-view.test.tsx+++ b/__tests__/components/settings/meta-llm-profiles/meta-llm-settings-view.test.tsx@@ -13,10 +13,10 @@ import * as useDeleteMetaProfileHook from "#/hooks/mutation/use-delete-meta-profimport MetaProfilesService from "#/api/meta-profiles-service/meta-profiles-service.api";import ProfilesService from "#/api/profiles-service/profiles-service.api";import {- DEFAULT_MAX_SCORE_PARETO_META_PROFILE_DEFAULT,- DEFAULT_MAX_SCORE_PARETO_META_PROFILE_NAME,- DEFAULT_MIN_COST_PARETO_META_PROFILE_DEFAULT,- DEFAULT_MIN_COST_PARETO_META_PROFILE_NAME,+ DEFAULT_ROUTER_PRO_META_PROFILE_DEFAULT,+ DEFAULT_ROUTER_PRO_META_PROFILE_NAME,+ DEFAULT_ROUTER_FLASH_META_PROFILE_DEFAULT,+ DEFAULT_ROUTER_FLASH_META_PROFILE_NAME,} from "#/components/features/settings/meta-llm-profiles/default-meta-profile";import { collectRequiredRouterModelNames } from "#/components/features/settings/meta-llm-profiles/router-profiles";@@ -169,11 +169,11 @@ describe("MetaLlmSettingsView", () => {).toBeInTheDocument();});- const openMaxScoreTemplate = async (+ const openRouterProTemplate = async (user: ReturnType<typeof userEvent.setup>,) => {await user.click(screen.getByTestId("add-meta-profile"));- await user.click(screen.getByTestId("meta-profile-template-max-score"));+ await user.click(screen.getByTestId("meta-profile-template-router-pro"));};it("opens the template chooser when clicking Add Model Router", async () => {@@ -185,38 +185,42 @@ describe("MetaLlmSettingsView", () => {expect(screen.getByTestId("meta-profile-template-modal"),).toBeInTheDocument();- expect(screen.getByTestId("meta-profile-template-max-score")).toBeEnabled();- expect(screen.getByTestId("meta-profile-template-min-cost")).toBeEnabled();+ expect(+ screen.getByTestId("meta-profile-template-router-pro"),+ ).toBeEnabled();+ expect(+ screen.getByTestId("meta-profile-template-router-flash"),+ ).toBeEnabled();expect(screen.getByTestId("meta-profile-template-custom")).toBeEnabled();});- it("opens the max-score default editor from the template chooser", async () => {+ it("opens the Router Pro default editor from the template chooser", async () => {const user = userEvent.setup();renderWithProviders(<MetaLlmSettingsView />);- await openMaxScoreTemplate(user);+ await openRouterProTemplate(user);expect(screen.getByTestId("meta-profile-editor")).toBeInTheDocument();expect(screen.getByTestId("meta-profile-name-input")).toHaveValue(- DEFAULT_MAX_SCORE_PARETO_META_PROFILE_NAME,+ DEFAULT_ROUTER_PRO_META_PROFILE_NAME,);});- it("opens the min-cost default editor from the template chooser", async () => {+ it("opens the Router Flash default editor from the template chooser", async () => {const user = userEvent.setup();renderWithProviders(<MetaLlmSettingsView />);await user.click(screen.getByTestId("add-meta-profile"));- await user.click(screen.getByTestId("meta-profile-template-min-cost"));+ await user.click(screen.getByTestId("meta-profile-template-router-flash"));expect(screen.getByTestId("meta-profile-name-input")).toHaveValue(- DEFAULT_MIN_COST_PARETO_META_PROFILE_NAME,+ DEFAULT_ROUTER_FLASH_META_PROFILE_NAME,);expect(screen.getByTestId("meta-profile-prompt-template")).toHaveValue(- DEFAULT_MIN_COST_PARETO_META_PROFILE_DEFAULT.prompt_template,+ DEFAULT_ROUTER_FLASH_META_PROFILE_DEFAULT.prompt_template,);expect(screen.getByTestId("meta-profile-model-table")).toHaveValue(- DEFAULT_MIN_COST_PARETO_META_PROFILE_DEFAULT.model_table,+ DEFAULT_ROUTER_FLASH_META_PROFILE_DEFAULT.model_table,);// The built-in templates pre-select the first provider connection so the// router's LLM profiles are created on save.@@ -244,16 +248,16 @@ describe("MetaLlmSettingsView", () => {it("creates missing router LLM profiles linked to the selected provider connection", async () => {const user = userEvent.setup();- saveMutateAsync.mockResolvedValue({ name: "default-max-score-pareto" });+ saveMutateAsync.mockResolvedValue({ name: "openhands-router-pro" });renderWithProviders(<MetaLlmSettingsView />);- await openMaxScoreTemplate(user);+ await openRouterProTemplate(user);await user.click(screen.getByTestId("meta-profile-save"));// Every model in the built-in table (plus the classifier) that is not// already a saved profile is created, linked to the connection.const expectedNames = collectRequiredRouterModelNames(- DEFAULT_MAX_SCORE_PARETO_META_PROFILE_DEFAULT,+ DEFAULT_ROUTER_PRO_META_PROFILE_DEFAULT,).filter((n) => !["minimax", "gpt", "deepseek"].includes(n.toLowerCase()));await waitFor(() =>@@ -286,7 +290,7 @@ describe("MetaLlmSettingsView", () => {activateMutateAsync.mockResolvedValue({ name: "pareto" });renderWithProviders(<MetaLlmSettingsView />);- await openMaxScoreTemplate(user);+ await openRouterProTemplate(user);await user.clear(screen.getByTestId("meta-profile-name-input"));await user.type(screen.getByTestId("meta-profile-name-input"), "pareto");fireEvent.change(screen.getByTestId("meta-profile-classifier-input"), {@@ -321,7 +325,7 @@ describe("MetaLlmSettingsView", () => {saveMutateAsync.mockResolvedValue({ name: "pareto" });renderWithProviders(<MetaLlmSettingsView />);- await openMaxScoreTemplate(user);+ await openRouterProTemplate(user);await user.clear(screen.getByTestId("meta-profile-name-input"));await user.type(screen.getByTestId("meta-profile-name-input"), "pareto");fireEvent.change(screen.getByTestId("meta-profile-classifier-input"), {diff --git a/__tests__/components/settings/meta-llm-profiles/meta-profile-editor.test.tsx b/__tests__/components/settings/meta-llm-profiles/meta-profile-editor.test.tsxindex 2280943ca4..02ddf02b8e 100644--- a/__tests__/components/settings/meta-llm-profiles/meta-profile-editor.test.tsx+++ b/__tests__/components/settings/meta-llm-profiles/meta-profile-editor.test.tsx@@ -5,8 +5,8 @@ import { renderWithProviders } from "test-utils";import { MetaProfileEditor } from "#/components/features/settings/meta-llm-profiles";import type { MetaProfile } from "#/api/meta-profiles-service/meta-profiles-service.api";import {- DEFAULT_MAX_SCORE_PARETO_META_PROFILE_DEFAULT,- DEFAULT_MAX_SCORE_PARETO_META_PROFILE_NAME,+ DEFAULT_ROUTER_PRO_META_PROFILE_DEFAULT,+ DEFAULT_ROUTER_PRO_META_PROFILE_NAME,} from "#/components/features/settings/meta-llm-profiles/default-meta-profile";const AVAILABLE = ["minimax", "minimax-m3", "gpt", "deepseek"];@@ -32,7 +32,7 @@ const FILLED: MetaProfile = {};describe("MetaProfileEditor", () => {- it("prefills create mode with the max-score Pareto router", async () => {+ it("prefills create mode with the OpenHands Router Pro router", async () => {const user = userEvent.setup();const onSave = vi.fn();renderWithProviders(@@ -48,16 +48,16 @@ describe("MetaProfileEditor", () => {);expect(screen.getByTestId("meta-profile-name-input")).toHaveValue(- DEFAULT_MAX_SCORE_PARETO_META_PROFILE_NAME,+ DEFAULT_ROUTER_PRO_META_PROFILE_NAME,);expect(screen.getByTestId("meta-profile-classifier-input")).toHaveValue("minimax-m3",);expect(screen.getByTestId("meta-profile-prompt-template")).toHaveValue(- DEFAULT_MAX_SCORE_PARETO_META_PROFILE_DEFAULT.prompt_template,+ DEFAULT_ROUTER_PRO_META_PROFILE_DEFAULT.prompt_template,);expect(screen.getByTestId("meta-profile-model-table")).toHaveValue(- DEFAULT_MAX_SCORE_PARETO_META_PROFILE_DEFAULT.model_table,+ DEFAULT_ROUTER_PRO_META_PROFILE_DEFAULT.model_table,);expect(screen.getByTestId("meta-profile-router-connection")).toHaveValue("OpenHands (openhands)",@@ -66,8 +66,8 @@ describe("MetaProfileEditor", () => {await user.click(screen.getByTestId("meta-profile-save"));expect(onSave).toHaveBeenCalledWith(- DEFAULT_MAX_SCORE_PARETO_META_PROFILE_NAME,- DEFAULT_MAX_SCORE_PARETO_META_PROFILE_DEFAULT,+ DEFAULT_ROUTER_PRO_META_PROFILE_NAME,+ DEFAULT_ROUTER_PRO_META_PROFILE_DEFAULT,"conn-openhands",);});diff --git a/src/components/features/settings/meta-llm-profiles/default-meta-profile.ts b/src/components/features/settings/meta-llm-profiles/default-meta-profile.tsindex df6f216ab4..b8e4508e18 100644--- a/src/components/features/settings/meta-llm-profiles/default-meta-profile.ts+++ b/src/components/features/settings/meta-llm-profiles/default-meta-profile.ts@@ -1,11 +1,9 @@import type { MetaProfile } from "#/api/meta-profiles-service/meta-profiles-service.api";-export const DEFAULT_MAX_SCORE_PARETO_META_PROFILE_NAME =- "default-max-score-pareto";-export const DEFAULT_MIN_COST_PARETO_META_PROFILE_NAME =- "default-min-cost-pareto";+export const DEFAULT_ROUTER_PRO_META_PROFILE_NAME = "openhands-router-pro";+export const DEFAULT_ROUTER_FLASH_META_PROFILE_NAME = "openhands-router-flash";-export const DEFAULT_MAX_SCORE_PARETO_META_PROFILE_MODEL_TABLE = `- gpt-5.4: swe-bench: 75.60%/$0.63; swt-bench: 70.40%/$0.47; swe-bench-multimodal: 36.80%/$1.45; commit0: 56.20%/$4.04; gaia: 82.40%/$0.61+export const DEFAULT_ROUTER_PRO_META_PROFILE_MODEL_TABLE = `- gpt-5.4: swe-bench: 75.60%/$0.63; swt-bench: 70.40%/$0.47; swe-bench-multimodal: 36.80%/$1.45; commit0: 56.20%/$4.04; gaia: 82.40%/$0.61- gpt-5.5: swe-bench: 78.20%/$1.52; swt-bench: 83.40%/$0.92; swe-bench-multimodal: 38.20%/$2.81; commit0: 43.80%/$5.56; gaia: 86.10%/$0.74- minimax-m3: swe-bench: 76.40%/$0.17; swt-bench: 81.10%/$0.11; swe-bench-multimodal: 36.80%/$0.35; commit0: 25.00%/$0.62; gaia: 66.70%/$0.35- claude-opus-4-6: swe-bench: 76.80%/$0.77; swt-bench: 78.80%/$0.43; swe-bench-multimodal: 41.80%/$2.37; commit0: 56.20%/$7.69; gaia: 80.00%/$0.44@@ -18,7 +16,7 @@ export const DEFAULT_MAX_SCORE_PARETO_META_PROFILE_MODEL_TABLE = `- gpt-5.4: swe- claude-sonnet-4-5: swe-bench: 74.20%/$1.19; swt-bench: 68.80%/$0.98; swe-bench-multimodal: 36.80%/$1.89; commit0: 12.50%/$3.23; gaia: 72.70%/$0.87- gpt-5.2-codex: swe-bench: 73.80%/$0.94; swt-bench: 67.00%/$0.66; swe-bench-multimodal: 35.90%/$2.97; commit0: 43.80%/$5.50; gaia: 70.90%/$0.55`;-export const DEFAULT_MAX_SCORE_PARETO_META_PROFILE_PROMPT = `You are a model router for an autonomous software agent. Your job is to pick exactly one model for the task below. Do not solve the task; never answer it.+export const DEFAULT_ROUTER_PRO_META_PROFILE_PROMPT = `You are a model router for an autonomous software agent. Your job is to pick exactly one model for the task below. Do not solve the task; never answer it.Step 1 — Classify the task into exactly one category:- BUG-FIX / CODE REPAIR: fix a defect or implement a change in an existing, mature repository (SWE-bench-like).@@ -75,14 +73,14 @@ Return ONLY valid JSON in this exact shape, with the model field containing an eTask:{{ instance_text }}`;-export const DEFAULT_MAX_SCORE_PARETO_META_PROFILE_DEFAULT: MetaProfile = {+export const DEFAULT_ROUTER_PRO_META_PROFILE_DEFAULT: MetaProfile = {classifier_model: "minimax-m3",classes: [],- prompt_template: DEFAULT_MAX_SCORE_PARETO_META_PROFILE_PROMPT,- model_table: DEFAULT_MAX_SCORE_PARETO_META_PROFILE_MODEL_TABLE,+ prompt_template: DEFAULT_ROUTER_PRO_META_PROFILE_PROMPT,+ model_table: DEFAULT_ROUTER_PRO_META_PROFILE_MODEL_TABLE,};-export const DEFAULT_MIN_COST_PARETO_META_PROFILE_PROMPT = `You are a model router for an autonomous software-agent task. Select exactly one model to run the task. Do not attempt to solve the task yourself.+export const DEFAULT_ROUTER_FLASH_META_PROFILE_PROMPT = `You are a model router for an autonomous software-agent task. Select exactly one model to run the task. Do not attempt to solve the task yourself.ROUTING GOAL:Expand the score/cost value frontier by routing each task to the cheapest model that is likely to solve it, and escalating only when the task pattern predicts that cheaper models will fail. A cheap route that fails is a regression, not a savings. An expensive route is justified only when cheaper models would likely miss.@@ -132,9 +130,9 @@ Task:Return ONLY JSON: {"model": "<exact model name>", "reason": "<short reason>"}`;-export const DEFAULT_MIN_COST_PARETO_META_PROFILE_DEFAULT: MetaProfile = {+export const DEFAULT_ROUTER_FLASH_META_PROFILE_DEFAULT: MetaProfile = {classifier_model: "minimax-m3",classes: [],- prompt_template: DEFAULT_MIN_COST_PARETO_META_PROFILE_PROMPT,- model_table: DEFAULT_MAX_SCORE_PARETO_META_PROFILE_MODEL_TABLE,+ prompt_template: DEFAULT_ROUTER_FLASH_META_PROFILE_PROMPT,+ model_table: DEFAULT_ROUTER_PRO_META_PROFILE_MODEL_TABLE,};diff --git a/src/components/features/settings/meta-llm-profiles/meta-llm-settings-view.tsx b/src/components/features/settings/meta-llm-profiles/meta-llm-settings-view.tsxindex 7260bb3c49..c65ad85ea9 100644--- a/src/components/features/settings/meta-llm-profiles/meta-llm-settings-view.tsx+++ b/src/components/features/settings/meta-llm-profiles/meta-llm-settings-view.tsx@@ -24,10 +24,10 @@ import { MetaProfileEditor } from "./meta-profile-editor";import { MetaProfileRow } from "./meta-profile-row";import { DeleteMetaProfileModal } from "./delete-meta-profile-modal";import {- DEFAULT_MAX_SCORE_PARETO_META_PROFILE_DEFAULT,- DEFAULT_MAX_SCORE_PARETO_META_PROFILE_NAME,- DEFAULT_MIN_COST_PARETO_META_PROFILE_DEFAULT,- DEFAULT_MIN_COST_PARETO_META_PROFILE_NAME,+ DEFAULT_ROUTER_PRO_META_PROFILE_DEFAULT,+ DEFAULT_ROUTER_PRO_META_PROFILE_NAME,+ DEFAULT_ROUTER_FLASH_META_PROFILE_DEFAULT,+ DEFAULT_ROUTER_FLASH_META_PROFILE_NAME,} from "./default-meta-profile";import {buildRouterModel,@@ -35,7 +35,7 @@ import {} from "./router-profiles";type ViewMode = "list" | "create" | "edit";-type RouterTemplate = "max-score-pareto" | "min-cost-pareto" | "custom";+type RouterTemplate = "router-pro" | "router-flash" | "custom";interface EditingMetaProfile {name: string;@@ -64,7 +64,7 @@ export function MetaLlmSettingsView() {null,);// Whether the create editor should pre-select a provider connection to- // populate the router's LLM profiles (true for the built-in Pareto templates,+ // populate the router's LLM profiles (true for the built-in router templates,// false for a blank custom profile).const [createRouterProfilesByDefault, setCreateRouterProfilesByDefault] =useState(true);@@ -126,16 +126,16 @@ export function MetaLlmSettingsView() {};const handleChooseTemplate = (template: RouterTemplate) => {- if (template === "max-score-pareto") {+ if (template === "router-pro") {setCreateInitial({- name: DEFAULT_MAX_SCORE_PARETO_META_PROFILE_NAME,- config: DEFAULT_MAX_SCORE_PARETO_META_PROFILE_DEFAULT,+ name: DEFAULT_ROUTER_PRO_META_PROFILE_NAME,+ config: DEFAULT_ROUTER_PRO_META_PROFILE_DEFAULT,});setCreateRouterProfilesByDefault(true);- } else if (template === "min-cost-pareto") {+ } else if (template === "router-flash") {setCreateInitial({- name: DEFAULT_MIN_COST_PARETO_META_PROFILE_NAME,- config: DEFAULT_MIN_COST_PARETO_META_PROFILE_DEFAULT,+ name: DEFAULT_ROUTER_FLASH_META_PROFILE_NAME,+ config: DEFAULT_ROUTER_FLASH_META_PROFILE_DEFAULT,});setCreateRouterProfilesByDefault(true);} else {@@ -351,22 +351,22 @@ export function MetaLlmSettingsView() {className="flex flex-col gap-3"><BrandButton- testId="meta-profile-template-max-score"+ testId="meta-profile-template-router-pro"type="button"variant="secondary"className="justify-start"- onClick={() => handleChooseTemplate("max-score-pareto")}+ onClick={() => handleChooseTemplate("router-pro")}>- {t(I18nKey.SETTINGS$META_PROFILE_TEMPLATE_MAX_SCORE)}+ {t(I18nKey.SETTINGS$META_PROFILE_TEMPLATE_ROUTER_PRO)}</BrandButton><BrandButton- testId="meta-profile-template-min-cost"+ testId="meta-profile-template-router-flash"type="button"variant="secondary"className="justify-start"- onClick={() => handleChooseTemplate("min-cost-pareto")}+ onClick={() => handleChooseTemplate("router-flash")}>- {t(I18nKey.SETTINGS$META_PROFILE_TEMPLATE_MIN_COST)}+ {t(I18nKey.SETTINGS$META_PROFILE_TEMPLATE_ROUTER_FLASH)}</BrandButton><BrandButtontestId="meta-profile-template-custom"diff --git a/src/components/features/settings/meta-llm-profiles/meta-profile-editor.tsx b/src/components/features/settings/meta-llm-profiles/meta-profile-editor.tsxindex dd582b4b20..2a491d2a60 100644--- a/src/components/features/settings/meta-llm-profiles/meta-profile-editor.tsx+++ b/src/components/features/settings/meta-llm-profiles/meta-profile-editor.tsx@@ -12,8 +12,8 @@ import { I18nKey } from "#/i18n/declaration";import type { MetaProfile } from "#/api/meta-profiles-service/meta-profiles-service.api";import type { ProviderConnection } from "#/api/provider-connections-service/provider-connections-service.api";import {- DEFAULT_MAX_SCORE_PARETO_META_PROFILE_DEFAULT,- DEFAULT_MAX_SCORE_PARETO_META_PROFILE_NAME,+ DEFAULT_ROUTER_PRO_META_PROFILE_DEFAULT,+ DEFAULT_ROUTER_PRO_META_PROFILE_NAME,} from "./default-meta-profile";// Dropdown key that means "don't create any router profiles" (i.e. all the@@ -91,10 +91,10 @@ export function MetaProfileEditor({const isEdit = mode === "edit";const startingConfig = normalizeConfig(initialConfig ??- (isEdit ? EMPTY_CONFIG : DEFAULT_MAX_SCORE_PARETO_META_PROFILE_DEFAULT),+ (isEdit ? EMPTY_CONFIG : DEFAULT_ROUTER_PRO_META_PROFILE_DEFAULT),);const [name, setName] = useState(- initialName ?? (isEdit ? "" : DEFAULT_MAX_SCORE_PARETO_META_PROFILE_NAME),+ initialName ?? (isEdit ? "" : DEFAULT_ROUTER_PRO_META_PROFILE_NAME),);const [config, setConfig] = useState<MetaProfile>(() => startingConfig);const [createdProviderConnections, setCreatedProviderConnections] = useState<diff --git a/src/contexts/conversation-websocket-context.tsx b/src/contexts/conversation-websocket-context.tsxindex 31ec65b489..5f822235a5 100644--- a/src/contexts/conversation-websocket-context.tsx+++ b/src/contexts/conversation-websocket-context.tsx@@ -799,7 +799,7 @@ export function ConversationWebSocketProvider({invalidateConversationQueries(queryClient, conversationId);}- // Router-driven model switch (Pareto/meta-profile classifier).+ // Router-driven model switch (Router/meta-profile classifier).// Same UI semantics as SwitchLLMObservation: update the combobox,// stamp the active profile, record the inline "Switched to"// message. Per the SDK wire contract, `model` is the saved LLMdiff --git a/src/i18n/translation.json b/src/i18n/translation.jsonindex 60588547fb..c113f40dbf 100644--- a/src/i18n/translation.json+++ b/src/i18n/translation.json@@ -5592,39 +5592,39 @@"uk": "Виберіть шаблон маршрутизатора моделей","ca": "Tria una plantilla d'encaminador de models"},- "SETTINGS$META_PROFILE_TEMPLATE_MAX_SCORE": {- "en": "Add Default Pareto Max Score",- "ja": "デフォルト Pareto 最大スコアを追加",- "zh-CN": "添加默认 Pareto 最高分",- "zh-TW": "新增預設 Pareto 最高分",- "ko-KR": "기본 Pareto 최대 점수 추가",- "no": "Legg til standard Pareto maks poengsum",- "it": "Aggiungi Pareto predefinito a punteggio massimo",- "pt": "Adicionar Pareto padrão de pontuação máxima",- "es": "Añadir Pareto predeterminado de puntuación máxima",- "ar": "إضافة Pareto افتراضي بأعلى نتيجة",- "fr": "Ajouter le Pareto par défaut à score maximal",- "tr": "Varsayılan en yüksek puanlı Pareto ekle",- "de": "Standard-Pareto mit maximaler Punktzahl hinzufügen",- "uk": "Додати типовий Pareto з максимальною оцінкою",- "ca": "Afegeix Pareto predeterminat de puntuació màxima"- },- "SETTINGS$META_PROFILE_TEMPLATE_MIN_COST": {- "en": "Add Default Pareto Min Cost",- "ja": "デフォルト Pareto 最小コストを追加",- "zh-CN": "添加默认 Pareto 最低成本",- "zh-TW": "新增預設 Pareto 最低成本",- "ko-KR": "기본 Pareto 최소 비용 추가",- "no": "Legg til standard Pareto min kostnad",- "it": "Aggiungi Pareto predefinito a costo minimo",- "pt": "Adicionar Pareto padrão de custo mínimo",- "es": "Añadir Pareto predeterminado de costo mínimo",- "ar": "إضافة Pareto افتراضي بأقل تكلفة",- "fr": "Ajouter le Pareto par défaut à coût minimal",- "tr": "Varsayılan en düşük maliyetli Pareto ekle",- "de": "Standard-Pareto mit minimalen Kosten hinzufügen",- "uk": "Додати типовий Pareto з мінімальною вартістю",- "ca": "Afegeix Pareto predeterminat de cost mínim"+ "SETTINGS$META_PROFILE_TEMPLATE_ROUTER_PRO": {+ "en": "Add OpenHands Router Pro",+ "ja": "OpenHands Router Pro を追加",+ "zh-CN": "添加 OpenHands Router Pro",+ "zh-TW": "新增 OpenHands Router Pro",+ "ko-KR": "OpenHands Router Pro 추가",+ "no": "Legg til OpenHands Router Pro",+ "it": "Aggiungi OpenHands Router Pro",+ "pt": "Adicionar OpenHands Router Pro",+ "es": "Añadir OpenHands Router Pro",+ "ar": "إضافة OpenHands Router Pro",+ "fr": "Ajouter OpenHands Router Pro",+ "tr": "OpenHands Router Pro ekle",+ "de": "OpenHands Router Pro hinzufügen",+ "uk": "Додати OpenHands Router Pro",+ "ca": "Afegeix OpenHands Router Pro"+ },+ "SETTINGS$META_PROFILE_TEMPLATE_ROUTER_FLASH": {+ "en": "Add OpenHands Router Flash",+ "ja": "OpenHands Router Flash を追加",+ "zh-CN": "添加 OpenHands Router Flash",+ "zh-TW": "新增 OpenHands Router Flash",+ "ko-KR": "OpenHands Router Flash 추가",+ "no": "Legg til OpenHands Router Flash",+ "it": "Aggiungi OpenHands Router Flash",+ "pt": "Adicionar OpenHands Router Flash",+ "es": "Añadir OpenHands Router Flash",+ "ar": "إضافة OpenHands Router Flash",+ "fr": "Ajouter OpenHands Router Flash",+ "tr": "OpenHands Router Flash ekle",+ "de": "OpenHands Router Flash hinzufügen",+ "uk": "Додати OpenHands Router Flash",+ "ca": "Afegeix OpenHands Router Flash"},"SETTINGS$META_PROFILE_TEMPLATE_CUSTOM": {"en": "Custom",diff --git a/src/types/agent-server/type-guards.ts b/src/types/agent-server/type-guards.tsindex 989cf163f4..9d7ea70326 100644--- a/src/types/agent-server/type-guards.ts+++ b/src/types/agent-server/type-guards.ts@@ -168,7 +168,7 @@ export const isSwitchLLMObservationEvent = (event.observation.kind === "SwitchLLMObservation";/**- * Type guard for router-driven model switches (Pareto/meta-profile classifier).+ * Type guard for router-driven model switches (Router/meta-profile classifier).* Mirrors isSwitchLLMObservationEvent — same UI semantics, different tool.*/export const isClassifyAndSwitchLLMObservationEvent = (