refac: direct connections
This commit is contained in:
1 parent
9762ef3ef6
commit
8af6a4cf21
1 file changed
+3
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user