fix(webui): identify OAuth reauthentication behind fallback replies
This commit is contained in:
1 parent
a05f11ba10
commit
448767d147
28 files changed
+269
-40
No files matched your search
@@ -59,6 +59,7 @@ class WebUIOutboundTransport(Protocol):
|
||||
model_preset: str | None = None,
|
||||
context_window_tokens: int | None = None,
|
||||
fallback: bool = False,
|
||||
reauth_provider: str | None = None,
|
||||
) -> None: ...
|
||||
|
||||
async def send_user_input(
|
||||
@@ -173,6 +174,7 @@ class WebUIOutboundProjector:
|
||||
model_preset=event.model_preset,
|
||||
context_window_tokens=event.context_window_tokens,
|
||||
fallback=event.fallback,
|
||||
reauth_provider=event.reauth_provider,
|
||||
)
|
||||
return
|
||||
if isinstance(event, UserInputEvent):
|
||||
|
||||
Reference in new issue
Block a user