mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-08 16:05:32 +02:00
Add latency metrics (#4472)
* k * update * Update chat_backend.py nit --------- Co-authored-by: evan-danswer <evan@danswer.ai>
This commit is contained in:
@@ -448,7 +448,7 @@ def handle_new_chat_message(
|
||||
),
|
||||
is_connected=is_connected_func,
|
||||
):
|
||||
yield json.dumps(packet) if isinstance(packet, dict) else packet
|
||||
yield packet
|
||||
|
||||
except Exception as e:
|
||||
logger.exception("Error in chat message streaming")
|
||||
|
Reference in New Issue
Block a user