fix(webui): only highlight actual model fallbacks
This commit is contained in:
1 parent
761e95b659
commit
7f97373490
9 files changed
+26
-2
No files matched your search
@@ -2061,6 +2061,7 @@ 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,
|
||||
),
|
||||
)
|
||||
)
|
||||
@@ -2072,6 +2073,7 @@ 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()
|
||||
|
||||
|
||||
Reference in new issue
Block a user