refactor(webui): infer fallback from active model

This commit is contained in:
chengyongru authored and chengyongru committed 2026-08-21 16:49:30 +08:00
1 parent 7f97373490
commit 953d2ed217
9 files changed
+8 -19

No files matched your search

@@ -2061,7 +2061,6 @@ async def test_send_scopes_turn_model_updates_to_the_subscribed_chat() -> None:
model="deepseek/deepseek-chat",
model_preset="Deep Research",
context_window_tokens=128_000,
is_fallback=True,
),
)
)
@@ -2073,7 +2072,6 @@ async def test_send_scopes_turn_model_updates_to_the_subscribed_chat() -> None:
"model_name": "deepseek/deepseek-chat",
"model_preset": "Deep Research",
"context_window_tokens": 128_000,
"is_fallback": True,
}
chat_two.send.assert_not_awaited()