mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
hotpatch(cloud): add llm load balancing
This commit is contained in:
parent
5d5f9d3bfb
commit
6fb656fd8f
21 changed files with 1324 additions and 103 deletions
|
|
@ -1215,8 +1215,12 @@ async def stream_new_chat(
|
|||
|
||||
except Exception as e:
|
||||
# Handle any errors
|
||||
import traceback
|
||||
|
||||
error_message = f"Error during chat: {e!s}"
|
||||
print(f"[stream_new_chat] {error_message}")
|
||||
print(f"[stream_new_chat] Exception type: {type(e).__name__}")
|
||||
print(f"[stream_new_chat] Traceback:\n{traceback.format_exc()}")
|
||||
|
||||
# Close any open text block
|
||||
if current_text_id is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue