feat: 新增时区配置功能、支持UTC时间自动转换为本地时区及环境变量配置

This commit is contained in:
TheSmallHanCat
2026-01-24 13:35:38 +08:00
parent 5342435512
commit ef1d1f90de
6 changed files with 119 additions and 2 deletions

View File

@@ -813,7 +813,7 @@ class GenerationHandler:
# Send retry notification to user if streaming
if stream:
yield self._format_stream_chunk(
reasoning_content=f"**生成失败,正在重试**\\n\\n{retry_count} 次重试(共 {max_retries} 次)...\\n\\n失败原因:{str(e)}\\n\\n"
reasoning_content=f"**生成失败,正在重试**\n\n{retry_count} 次重试(共 {max_retries} 次)...\n\n失败原因:{str(e)}\n\n"
)
# Small delay before retry