mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
refac: direct connections
This commit is contained in:
parent
9762ef3ef6
commit
8af6a4cf21
1 changed files with 3 additions and 1 deletions
|
|
@ -2349,7 +2349,9 @@ async def process_chat_response(
|
|||
)
|
||||
|
||||
if data:
|
||||
if "event" in data:
|
||||
if "event" in data and not getattr(
|
||||
request.state, "direct", False
|
||||
):
|
||||
await event_emitter(data.get("event", {}))
|
||||
|
||||
if "selected_model_id" in data:
|
||||
|
|
|
|||
Loading…
Reference in a new issue