mirror of
https://github.com/TheSmallHanCat/sora2api.git
synced 2026-04-12 04:27:29 +08:00
feat: 新增时区配置功能、支持UTC时间自动转换为本地时区及环境变量配置
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user