Skip to content

armgit / avibe

Public Imported from GitHub
0

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.

feat(models): say when a search ran by proxy because its Source refused it (#2669)

Call White21708057e13c
diff --git a/core/hosted_activity.py b/core/hosted_activity.py
index cd8d61423..6d4cd397f 100644
--- a/core/hosted_activity.py
+++ b/core/hosted_activity.py
@@ -31,6 +31,7 @@ from core.agent_core.messages import (
ProxyExecution,
ToolCallBlock,
)
+from core.message_output import plain_untrusted_text
from vibe.i18n import t as i18n_t
HOSTED_ACTIVITY_VERSION = 1
@@ -85,6 +86,10 @@ class HostedActivity:
# The committed response row a native call came in. Its card is ordered just
# before that row, as the call happened before the text that reads its result.
response_id: Optional[str] = None
+ # The Source that refused to run this search natively, so it ran by proxy instead (``hosted.fallback_from``),
+ # with its current name.
+ fallback_source_id: Optional[str] = None
+ fallback_source_name: Optional[str] = None
@property
def completed(self) -> bool:
@@ -127,6 +132,11 @@ class HostedActivity:
payload.update({key: value for key, value in optional.items() if value is not None})
if self.extra_queries:
payload["extra_queries"] = list(self.extra_queries)
+ if self.fallback_source_id is not None:
+ fallback: dict[str, Any] = {"source_id": self.fallback_source_id}
+ if self.fallback_source_name is not None:
+ fallback["source_name"] = self.fallback_source_name
+ payload["fallback_from"] = fallback
if self.cost is not None:
cost: dict[str, Any] = {"basis": self.cost.basis, "calls": self.cost_calls}
if self.cost.usd is not None:
@@ -277,6 +287,10 @@ def proxy_activity(
cost=cost,
cost_calls=1,
duration_ms=duration_ms,
+ fallback_source_id=result.fallback_from.source_id if result.fallback_from is not None else None,
+ fallback_source_name=(
+ source_names(result.fallback_from.source_id) if result.fallback_from is not None else None
+ ),
cost_at_least=at_least,
)
@@ -322,7 +336,15 @@ def _clip(text: str, limit: int = LINE_SUBJECT_MAX_CHARS) -> str:
return flat if len(flat) <= limit else flat[: limit - 1].rstrip() + "…"
-def _ran(activity: HostedActivity, lang: str) -> list[Optional[str]]:
+def _untrusted(text: str, escape: Callable[[str], str]) -> str:
+ """Text Avibe did not write (a model's query, a provider's error, a user's Source or model name), as the IM line
+ carries it: its mentions and masked links made inert for every platform, then escaped for the destination's
+ markup. A platform escape alone leaves Discord's ``@everyone`` and ``[label](url)`` live."""
+
+ return escape(plain_untrusted_text(text))
+
+
+def _ran(activity: HostedActivity, lang: str, escape: Callable[[str], str]) -> list[Optional[str]]:
"""How a completed call ran and what it produced, as the IM line names them.
A direct image call names the image model and the image's size rather than a vendor: the model is what the call
@@ -333,12 +355,16 @@ def _ran(activity: HostedActivity, lang: str) -> list[Optional[str]]:
first = activity.images[0] if activity.images else None
size = f"{first.width}×{first.height}" if first is not None and first.width and first.height else None
more = _count(activity, lang) if len(activity.images) > 1 else None
- return [activity.model, size, more]
+ return [_untrusted(activity.model, escape) if activity.model else None, size, more]
vendor = _vendor_label(activity.provider)
if not vendor:
mode = None
+ elif activity.mode == "proxy" and activity.fallback_source_id is not None:
+ # Why it ran by proxy: the turn's own Source refused the native tool (§8.3, mockup 06).
+ refused_by = _untrusted(activity.fallback_source_name or activity.fallback_source_id, escape)
+ mode = i18n_t("hostedTools.mode.fallback", lang, source=refused_by, provider=vendor)
elif activity.mode == "proxy" and activity.model:
- mode = i18n_t("hostedTools.mode.proxyModel", lang, provider=vendor, model=activity.model)
+ mode = i18n_t("hostedTools.mode.proxyModel", lang, provider=vendor, model=_untrusted(activity.model, escape))
else:
mode = i18n_t(f"hostedTools.mode.{activity.mode}", lang, provider=vendor)
return [mode, _count(activity, lang)]
@@ -400,10 +426,12 @@ def hosted_line(activity: HostedActivity, lang: str, *, escape: Callable[[str],
emoji = "🖼" if activity.tool == "image_generate" else "🔎"
parts: list[Optional[str]] = [f"{emoji} {i18n_t(f'hostedTools.tool.{activity.tool}', lang)}"]
if activity.subject:
- parts[0] += " " + i18n_t("hostedTools.quoted", lang, subject=escape(_clip(activity.subject)))
+ parts[0] += " " + i18n_t("hostedTools.quoted", lang, subject=_untrusted(_clip(activity.subject), escape))
if activity.completed:
- parts.extend(_ran(activity, lang))
+ parts.extend(_ran(activity, lang, escape))
else:
- parts.append(i18n_t(f"hostedTools.status.{activity.status}", lang, error=escape(_error_text(activity, lang))))
+ parts.append(
+ i18n_t(f"hostedTools.status.{activity.status}", lang, error=_untrusted(_error_text(activity, lang), escape))
+ )
parts.append(_cost(activity, lang))
return " · ".join(part for part in parts if part)
diff --git a/docs/plans/vibey-hosted-tools.md b/docs/plans/vibey-hosted-tools.md
index 71e70fb5e..b03a3c8fa 100644
--- a/docs/plans/vibey-hosted-tools.md
+++ b/docs/plans/vibey-hosted-tools.md
@@ -742,6 +742,21 @@ when metered, sources, failure reason); citations through the existing citation
`🔎 Web search "query" · native (xAI) · 6 sources · $0.01`. The image card shows the prompt, the image, the model
used and the cost; IM attaches the file.
+**When a search ran by proxy because the turn's own Source refused it** (`hosted.fallback_from`, set by Vibey on a
+hop whose C-6 facts say `refused`), both surfaces say so, so the switch is never silent:
+- the Web card keeps a note in view, collapsed or expanded: "relay-gpt 不支持网页搜索,已改用 Anthropic(relay-claude)"
+ with "之后自动沿用,可在 模型 › 工具 中清除" for a reader who can manage the instance, and "之后自动沿用,实例管理员可在
+ 模型 › 工具 中清除" for anyone else, who cannot open Models;
+- the IM line names it in place of how the call ran: "🔎 网页搜索 “…” · relay-gpt 不支持,已改用 Anthropic · 6 个来源 · $0.01".
+Like every claim about how a call ran, the note shows only for a completed call. The refusing Source is named by
+its current name (`source_names`), and the note
+disappears once the refusal is cleared and the hop is native again.
+
+**Untrusted text on the IM line.** The subject (a model's query or prompt), a provider's error, and a user's Source or
+model name are not Avibe's words. `hosted_line` passes each through `core.message_output.plain_untrusted_text`
+(mentions and masked links made inert on every platform) and then the destination's escape. A platform escape alone
+leaves Discord's `@everyone`, `<@id>` and `[label](url)` live.
+
## 9. Defaults, cost and privacy
- **Every tool is on by default** (owner decision, 2026-10-15). This reverses v1's default, whose premise was that a
diff --git a/tests/scenarios/model_hub/catalog.yaml b/tests/scenarios/model_hub/catalog.yaml
index 7c8d17277..e1a1c1ae0 100644
--- a/tests/scenarios/model_hub/catalog.yaml
+++ b/tests/scenarios/model_hub/catalog.yaml
@@ -247,6 +247,7 @@ scenarios:
- 'ui/src/components/workbench/HostedToolRow.test.tsx::MH-HOSTED-UI-008: shows a native and a proxied call the same way, each with how it ran and its known cost'
- 'ui/src/components/workbench/HostedToolRow.test.tsx::MH-HOSTED-UI-008: shows a direct image call by its model and Source, with its size, file and prompt, and no cost when none is known'
- 'ui/src/components/workbench/HostedToolRow.test.tsx::MH-HOSTED-UI-008: shows a total an unpriced attempt left only as a lower bound'
+ - 'ui/src/components/workbench/HostedToolRow.test.tsx::MH-HOSTED-UI-008: says why a search ran by proxy when the turn''s Source refused it, and how to undo that'
- id: MH-HOSTED-UI-009
name: A hosted call's card payload is projected from the canonical C-1 records in the shape the Web renders
status: covered
@@ -265,6 +266,7 @@ scenarios:
test: tests/test_hosted_activity.py::test_the_im_line_states_tool_query_mode_count_and_known_cost
related_tests:
- tests/test_hosted_activity.py::test_the_im_line_names_a_subscription_and_a_shared_response_cost
+ - tests/test_hosted_activity.py::test_the_im_line_leaves_no_mention_or_masked_link_live_in_untrusted_text
- id: MH-HOSTED-UI-012
name: A turn whose image_generate call completed reaches the user with the image as an attachment, and a final that says nothing after it is still a reply, never the empty-reply error; the turn keeps its first hop's image models
status: covered
diff --git a/tests/test_hosted_activity.py b/tests/test_hosted_activity.py
index aa58131fa..1d1aba5d5 100644
--- a/tests/test_hosted_activity.py
+++ b/tests/test_hosted_activity.py
@@ -18,6 +18,7 @@ from core.agent_core.messages import (
FailedAttempt,
HostedAction,
HostedCost,
+ HostedFallback,
HostedImage,
HostedNative,
HostedRecord,
@@ -31,6 +32,7 @@ from core.agent_core.messages import (
ToolCallBlock,
)
from core.hosted_activity import hosted_line, native_activities, proxy_activity
+from modules.im.formatters.discord_formatter import DiscordFormatter
from vibe.i18n import t as i18n_t
FIXTURE = json.loads(
@@ -183,8 +185,27 @@ def proxy_retried():
)
+def proxy_fallback():
+ """A web search on a hop whose own Source (relay-gpt) refused it natively, so relay-claude ran it by proxy."""
+ return proxy_activity(
+ ToolCallBlock(id="call_w7", name="web_search", arguments={"query": "Anthropic announcements October 2026"}),
+ HostedResult(
+ record=HostedRecord(status="completed", sources=(DEVDAY,)),
+ execution=ProxyExecution(
+ executor_origin=Origin(provider="anthropic", api="anthropic", model="claude-haiku-5-5"),
+ executor_source_id="src_relayclaude",
+ executor_billing="metered",
+ cost=HostedCost(basis="list", usd=0.01),
+ ),
+ fallback_from=HostedFallback("src_relaygpt1"),
+ ),
+ source_names=NAMES,
+ )
+
+
@pytest.mark.parametrize(
- "build", [native_web_search, proxy_x_search, direct_image, proxy_failed, proxy_unreachable, proxy_retried]
+ "build",
+ [native_web_search, proxy_x_search, direct_image, proxy_failed, proxy_unreachable, proxy_retried, proxy_fallback],
)
def test_payloads_match_the_shape_the_web_card_renders(build):
"""MH-HOSTED-UI-009: every mode and outcome the card distinguishes, from the canonical records each producer writes.
@@ -253,6 +274,9 @@ def test_a_response_scoped_summary_is_shown_once():
" · gpt-image-2 · 1536×1024",
),
(proxy_failed, "zh", "🔎 X 搜索 “from:OpenAI” · 失败:no Source is verified for X search"),
+ # A proxy that ran because the turn's own Source refused the tool says so, in place of how it ran.
+ (proxy_fallback, "zh", "🔎 网页搜索 “Anthropic announcements October 2026” · relay-gpt 不支持,已改用 Anthropic · 1 个来源 · ≈ $0.01"),
+ (proxy_fallback, "en", "🔎 Web search “Anthropic announcements October 2026” · relay-gpt doesn't support it, now using Anthropic · 1 source · ≈ $0.01"),
],
)
def test_the_im_line_states_tool_query_mode_count_and_known_cost(build, lang, line):
@@ -349,6 +373,37 @@ def test_a_proxied_calls_cost_counts_every_billed_attempt(failed, last, cost, li
assert line.endswith(f" · {line_tail}") if line_tail else "$" not in line
+HOSTILE = ("@everyone", "<@123456789>", "[Models](https://example.invalid)")
+
+
+def _slots(text: str):
+ """The IM line's untrusted slots, each carrying *text*: what a model, a provider or a user wrote."""
+ fallback = replace(proxy_fallback(), fallback_source_name=text)
+ return {
+ "subject": proxy_activity(
+ _x_call("call_s1", text), HostedResult(record=HostedRecord(status="completed"), execution=XAI)
+ ),
+ "error": proxy_activity(
+ _x_call("call_e1", "q"), HostedResult(record=HostedRecord(status="failed", error=f"refused: {text}"))
+ ),
+ "fallback source": fallback,
+ "executor model": replace(proxy_x_search(), model=text),
+ "image model": replace(direct_image(), model=text),
+ }
+
+
[email protected]("text", HOSTILE)
[email protected]("slot", ["subject", "error", "fallback source", "executor model", "image model"])
+def test_the_im_line_leaves_no_mention_or_masked_link_live_in_untrusted_text(slot, text):
+ """MH-HOSTED-UI-010: a query, a provider's error, and a user's Source or model name are not Avibe's words. The
+ line neutralizes their mentions and masked links before the platform escape, which alone leaves Discord's
+ ``@everyone``, ``<@id>`` and ``[label](url)`` live (DiscordBot sends without ``allowed_mentions``)."""
+
+ line = hosted_line(_slots(text)[slot], "en", escape=DiscordFormatter().escape_special_chars)
+ assert text not in line
+ assert "@everyone" not in line and "<@1" not in line and "](" not in line
+
+
def test_the_im_line_escapes_the_quoted_subject_for_its_destination():
activity = proxy_activity(
_x_call("call_x4", "*bold* claim"),
diff --git a/ui/src/components/workbench/HostedToolRow.test.tsx b/ui/src/components/workbench/HostedToolRow.test.tsx
index 9b8d44872..3660446c0 100644
--- a/ui/src/components/workbench/HostedToolRow.test.tsx
+++ b/ui/src/components/workbench/HostedToolRow.test.tsx
@@ -11,6 +11,9 @@ import zh from '../../i18n/zh.json';
import fixture from '../../lib/hostedActivity.fixture.json';
import { groupFromWire } from '../../lib/agentActivity';
import { ActivityChip } from './AgentActivityGroup';
+import { InstanceAuthorizationContext } from '../../context/InstanceAuthorizationContext';
+import type { InstanceRole } from '../../lib/sessionInfo';
+import { capabilitiesFor } from '../../lib/testing/instanceRoleCapabilities';
const translator = (lng: 'en' | 'zh') => {
const instance = createInstance();
@@ -26,7 +29,7 @@ const translator = (lng: 'en' | 'zh') => {
type Payload = keyof Omit<typeof fixture, '_comment'>;
/** The stored rows, through the same wire mapping the /activity endpoint feeds. */
-const renderGroup = (payloads: (Payload | Record<string, unknown>)[], lng: 'en' | 'zh' = 'en') => {
+const renderGroup = (payloads: (Payload | Record<string, unknown>)[], lng: 'en' | 'zh' = 'en', role: InstanceRole = 'owner') => {
const group = groupFromWire({
id: 'turn', anchor_message_id: 'reply', anchor_position: 'before', open: false, status: 'done',
steps: payloads.length, duration_ms: 38000,
@@ -36,9 +39,11 @@ const renderGroup = (payloads: (Payload | Record<string, unknown>)[], lng: 'en'
})),
});
render(
- <I18nextProvider i18n={translator(lng)}>
- <ActivityChip group={group} expanded loading={false} onToggle={() => {}} showToolCalls onToggleTools={() => {}} />
- </I18nextProvider>,
+ <InstanceAuthorizationContext.Provider value={{ remote: false, instanceKind: null, instanceRole: role, capabilities: capabilitiesFor(role) }}>
+ <I18nextProvider i18n={translator(lng)}>
+ <ActivityChip group={group} expanded loading={false} onToggle={() => {}} showToolCalls onToggleTools={() => {}} />
+ </I18nextProvider>
+ </InstanceAuthorizationContext.Provider>,
);
};
@@ -113,6 +118,25 @@ describe('hosted tool cards', () => {
within(row('call_x6')).getByText('at least $0.11');
});
+ it('MH-HOSTED-UI-008: says why a search ran by proxy when the turn\'s Source refused it, and how to undo that', () => {
+ renderGroup(['proxy_fallback'], 'zh');
+ const card = row('call_w7');
+ within(card).getByText('由 Anthropic 代理 · claude-haiku-5-5');
+ // In view while the card is collapsed.
+ within(card).getByText('relay-gpt 不支持网页搜索,已改用 Anthropic(relay-claude)');
+ within(card).getByText('之后自动沿用,可在 模型 › 工具 中清除');
+ cleanup();
+
+ // A reader who cannot manage the instance is told who can clear it, not sent to a page they cannot open.
+ renderGroup(['proxy_fallback'], 'zh', 'editor');
+ within(row('call_w7')).getByText('之后自动沿用,实例管理员可在 模型 › 工具 中清除');
+ cleanup();
+
+ // A call that did not complete claims nothing about who ran it.
+ renderGroup([{ ...fixture.proxy_fallback, status: 'failed', error: 'upstream timeout' }]);
+ expect(document.querySelector('[data-hosted-fallback]')).toBeNull();
+ });
+
it.each([
['pending', undefined, 'Cut off'],
['failed', 'upstream timeout', 'Failed'],
diff --git a/ui/src/components/workbench/HostedToolRow.tsx b/ui/src/components/workbench/HostedToolRow.tsx
index 7e3e699ff..c4b08831b 100644
--- a/ui/src/components/workbench/HostedToolRow.tsx
+++ b/ui/src/components/workbench/HostedToolRow.tsx
@@ -8,6 +8,7 @@ import { AtSign, Check, ChevronRight, CircleSlash, Download, FileImage, Globe, I
import clsx from 'clsx';
import { ChatImage } from '../ui/chat-image';
+import { useInstanceAuthorization } from '../../context/InstanceAuthorizationContext';
import { apiKeyVendorPreset } from '../settings/models/apiKeyVendors';
import { serverText } from '../settings/models/serverCopy';
import { hostedCompleted, type HostedActivity, type HostedActivityImage, type HostedToolName } from '../../lib/hostedActivity';
@@ -232,6 +233,33 @@ const HostedDetail: React.FC<{ card: HostedActivity }> = ({ card }) => {
);
};
+/**
+ * Why a search ran by proxy: the turn's own Source refused it natively. The note
+ * stays in view, collapsed or expanded, and says the refusal lasts until it is
+ * cleared: where to clear it for a reader who can, and who can for anyone else.
+ */
+const FallbackNote: React.FC<{ card: HostedActivity }> = ({ card }) => {
+ const { t } = useTranslation();
+ // Only an instance manager reaches Models › Tools; anyone else is told who can clear it.
+ const { capabilities } = useInstanceAuthorization();
+ const from = card.fallback_from;
+ const vendor = vendorLabel(card.provider);
+ if (!from || !hostedCompleted(card) || !vendor) return null;
+ const refusedBy = from.source_name ?? from.source_id;
+ const toolInline = t(`settings.models.tools.tool.${card.tool}.inline`);
+ return (
+ <p className="mx-1.5 mb-1 mt-0.5 flex flex-wrap items-center gap-x-3 gap-y-0.5 rounded-md border border-gold/40 bg-gold/10 px-2.5 py-1.5 text-[11px]" data-hosted-fallback={card.call_id}>
+ <span className="inline-flex min-w-0 items-center gap-1.5 text-foreground">
+ <TriangleAlert className="size-3 shrink-0 text-gold-ink" aria-hidden="true" />
+ {card.source_name
+ ? t('chat.agentActivity.hosted.fallback.ranOn', { from: refusedBy, toolInline, provider: vendor, source: card.source_name })
+ : t('chat.agentActivity.hosted.fallback.ran', { from: refusedBy, toolInline, provider: vendor })}
+ </span>
+ <span className="ml-auto text-muted">{t(capabilities.can_manage_instance ? 'chat.agentActivity.hosted.fallback.kept' : 'chat.agentActivity.hosted.fallback.keptManager')}</span>
+ </p>
+ );
+};
+
export const HostedToolRow: React.FC<{ card: HostedActivity }> = ({ card }) => {
const { t } = useTranslation();
const [open, setOpen] = React.useState(false);
@@ -257,6 +285,7 @@ export const HostedToolRow: React.FC<{ card: HostedActivity }> = ({ card }) => {
{count && <span className="hidden shrink-0 text-[11px] text-muted sm:inline">{count}</span>}
<ChevronRight className={clsx('size-3.5 shrink-0 text-muted transition-transform', open && 'rotate-90')} aria-hidden="true" />
</button>
+ <FallbackNote card={card} />
{open && <HostedDetail card={card} />}
</div>
);
diff --git a/ui/src/i18n/en.json b/ui/src/i18n/en.json
index 8db915b22..475b5fb10 100644
--- a/ui/src/i18n/en.json
+++ b/ui/src/i18n/en.json
@@ -5011,6 +5011,12 @@
"ranNative": "Ran natively on {{where}}",
"ranProxy": "Run by proxy executor {{where}}",
"ranDirect": "Ran directly on {{where}}",
+ "fallback": {
+ "ranOn": "{{from}} doesn't support {{toolInline}}, so {{provider}} ({{source}}) ran it",
+ "ran": "{{from}} doesn't support {{toolInline}}, so {{provider}} ran it",
+ "kept": "Used from now on; clear it in Models › Tools",
+ "keptManager": "Used from now on; an instance manager can clear it in Models › Tools"
+ },
"duration": "took {{seconds}} s",
"alsoSearched": "Also searched: {{queries}}",
"image": {
diff --git a/ui/src/i18n/zh.json b/ui/src/i18n/zh.json
index d4d276192..ad09e1e6f 100644
--- a/ui/src/i18n/zh.json
+++ b/ui/src/i18n/zh.json
@@ -5011,6 +5011,12 @@
"ranNative": "原生执行:{{where}}",
"ranProxy": "代理执行:{{where}}",
"ranDirect": "直连执行:{{where}}",
+ "fallback": {
+ "ranOn": "{{from}} 不支持{{toolInline}},已改用 {{provider}}({{source}})",
+ "ran": "{{from}} 不支持{{toolInline}},已改用 {{provider}}",
+ "kept": "之后自动沿用,可在 模型 › 工具 中清除",
+ "keptManager": "之后自动沿用,实例管理员可在 模型 › 工具 中清除"
+ },
"duration": "用时 {{seconds}} 秒",
"alsoSearched": "还搜索了:{{queries}}",
"image": {
diff --git a/ui/src/lib/hostedActivity.fixture.json b/ui/src/lib/hostedActivity.fixture.json
index 9cdcf7e76..160e255a2 100644
--- a/ui/src/lib/hostedActivity.fixture.json
+++ b/ui/src/lib/hostedActivity.fixture.json
@@ -109,5 +109,34 @@
"usd": 0.11,
"at_least": true
}
+ },
+ "proxy_fallback": {
+ "version": 1,
+ "call_id": "call_w7",
+ "tool": "web_search",
+ "mode": "proxy",
+ "status": "completed",
+ "sources": [
+ {
+ "url": "https://openai.com/index/devday-2026",
+ "title": "DevDay 2026 recap",
+ "page_age": "2 days ago"
+ }
+ ],
+ "images": [],
+ "subject": "Anthropic announcements October 2026",
+ "provider": "anthropic",
+ "source_id": "src_relayclaude",
+ "source_name": "relay-claude",
+ "model": "claude-haiku-5-5",
+ "fallback_from": {
+ "source_id": "src_relaygpt1",
+ "source_name": "relay-gpt"
+ },
+ "cost": {
+ "basis": "list",
+ "calls": 1,
+ "usd": 0.01
+ }
}
}
diff --git a/ui/src/lib/hostedActivity.ts b/ui/src/lib/hostedActivity.ts
index 4b292db3d..dea648072 100644
--- a/ui/src/lib/hostedActivity.ts
+++ b/ui/src/lib/hostedActivity.ts
@@ -48,6 +48,8 @@ export type HostedActivity = {
quality?: string;
revised_prompt?: string;
duration_ms?: number;
+ /** The Source that refused to run this search natively, so it ran by proxy instead; absent otherwise. */
+ fallback_from?: { source_id: string; source_name?: string };
/** Absent when no price is known: unknown is never shown as zero. ``calls`` is how many calls it covers, and
* ``at_least`` marks a lower bound: an attempt reported no price. */
cost?: { basis: 'reported' | 'list' | 'included'; usd?: number; calls: number; at_least?: boolean };
diff --git a/vibe/i18n/en.json b/vibe/i18n/en.json
index 5c729840a..0e2c4f519 100644
--- a/vibe/i18n/en.json
+++ b/vibe/i18n/en.json
@@ -1840,6 +1840,7 @@
"native": "native ({provider})",
"proxy": "via {provider} proxy",
"proxyModel": "via {provider} proxy ({model})",
+ "fallback": "{source} doesn't support it, now using {provider}",
"direct": "direct ({provider})"
},
"count": {
diff --git a/vibe/i18n/zh.json b/vibe/i18n/zh.json
index a02acd565..57db0e96a 100644
--- a/vibe/i18n/zh.json
+++ b/vibe/i18n/zh.json
@@ -1840,6 +1840,7 @@
"native": "原生({provider})",
"proxy": "由 {provider} 代理",
"proxyModel": "由 {provider} 代理({model})",
+ "fallback": "{source} 不支持,已改用 {provider}",
"direct": "{provider} 直连"
},
"count": {