3 Commits
Author SHA1 Message Date
gozeros 264e2200d6 sync update from LAN repo (source dhk-1 @ 3b1ec5b4) 2026-11-05 10:56:34 +08:00
gozeros 42f2a26fa8 sync update from LAN repo (source dhk-1 @ 3e87be55) 2026-10-21 15:06:08 +08:00
董宏凯 f7e6ed65bd fix: retry httpx timeout family as transient LLM errors
Live incident: the compatible-mode provider stalled mid-stream after
200 OK (~17s without data) and raised httpx.ReadTimeout, which was not
in the retriable exception-name set, so the call failed after 1
attempt and killed the whole run. Add ReadTimeout/ConnectTimeout/
WriteTimeout/PoolTimeout/TimeoutError/ConnectError to the transient
set in LLMErrorHandlingMiddleware (retry with backoff, then a
transient fallback message instead of generic), and add ReadTimeout/
ConnectTimeout to ai_writing's classify_exception for model
switching.
2026-08-30 15:53:51 +08:00