chore: upgrade backend Python to 3.11 (#1142)

Co-authored-by: Wendong-Fan <w3ndong.fan@gmail.com>
Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
This commit is contained in:
Dream 2026-02-04 16:24:52 -05:00 committed by GitHub
parent 975648c1d2
commit ce782762e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 390 additions and 409 deletions

View file

@ -124,7 +124,7 @@ async def timeout_stream_wrapper(
)
last_data_time = time.time()
yield data
except asyncio.TimeoutError:
except TimeoutError:
chat_logger.warning(
"SSE timeout: No data received, closing connection",
extra={"timeout_seconds": timeout_seconds},