Skip to content

feat: 添加AI API请求超时(2秒)和重试(最多3次)机制#46

Open
HCID274 wants to merge 1 commit intoyan5xu:mainfrom
HCID274:feature/ai-timeout-retry
Open

feat: 添加AI API请求超时(2秒)和重试(最多3次)机制#46
HCID274 wants to merge 1 commit intoyan5xu:mainfrom
HCID274:feature/ai-timeout-retry

Conversation

@HCID274
Copy link
Copy Markdown

@HCID274 HCID274 commented Jan 3, 2026

  • 使用 AbortController 实现精确的2秒超时控制
  • 超时后自动重试,最多3次,每次间隔1秒
  • 改善不稳定网络环境下的用户体验
  • 更新错误提示信息,明确显示重试次数

- 使用 AbortController 实现精确的2秒超时控制
- 超时后自动重试,最多3次,每次间隔1秒
- 改善不稳定网络环境下的用户体验
- 更新错误提示信息,明确显示重试次数
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant