ai_v/services
24024 158ba123b1 ```
feat(task_service): 增强任务服务的错误处理和重试机制

- 添加了 _extract_error_detail 函数,用于从 API 响应中智能提取详细的错误信息,
  支持多种常见的错误字段格式,提高错误诊断准确性

- 集成 requests 异常处理,区分连接超时、连接错误和读取超时等不同类型的网络异常,
  实现更精确的重试策略,避免因响应丢失导致的任务重复提交

- 在图像和视频生成流程中统一使用新的错误提取函数替代原有的简单错误字段获取,
  提升失败任务的错误信息详细程度

- 优化异常处理逻辑,对不同类型的异常采用相应的处理策略,包括安全重试和终止重试
```
2026-03-12 23:25:46 +08:00
..
__init__.py feat: Implement core application structure with new services, blueprints, templates, and database migrations. 2026-01-17 23:15:58 +08:00
alipay_service.py feat(payment): 添加订单状态同步功能和主动查询接口 2026-01-23 17:40:23 +08:00
captcha_service.py feat: Implement a comprehensive user authentication system, add video generation capabilities, and set up database migrations and API blueprints. 2026-01-16 22:24:14 +08:00
file_service.py ``` 2026-02-02 17:05:31 +08:00
generation_service.py ``` 2026-02-02 17:05:31 +08:00
history_service.py feat: Implement user history retrieval and MinIO file proxy with updated public URL configuration. 2026-01-21 19:32:02 +08:00
logger.py feat: Add admin panel for system management, new authentication and payment blueprints, logger and stats services, and related model updates. 2026-01-18 21:09:43 +08:00
sms_service.py feat(api): 实现图像生成及后台同步功能 2026-01-12 00:53:31 +08:00
stats_service.py feat: Add admin panel for system management, new authentication and payment blueprints, logger and stats services, and related model updates. 2026-01-18 21:09:43 +08:00
system_service.py feat: Implement core application structure with new services, blueprints, templates, and database migrations. 2026-01-17 23:15:58 +08:00
task_service.py ``` 2026-03-12 23:25:46 +08:00