feat: Enhance DeepSeek API integration with retries and timeout handling

- Updated API key environment variable from DEEPL_API_KEY to DEEPSEEK_API_KEY
- Increased maximum text chunk length from 5000 to 8000 characters
- Implemented request timeout and retry logic for API calls
- Added handling for rate limiting responses (HTTP 429)
- Improved error handling for API responses
This commit is contained in:
Harvey Zhao committed 2026-03-08 13:00:57 +08:00
1 parent 562cfe18db
commit 3adff76edf
2 files changed
+2388 -1654

No files matched your search

+2329 -1628
View File
File diff suppressed because it is too large. Load diff