|
|
7172f3ab04
|
```
feat(config): 添加代理超时配置选项
添加了多种场景的代理超时配置:
- 默认超时:60秒
- 短任务超时:30秒(轮询、小图片下载)
- 长任务超时:300秒(视频下载、大文件)
- 生成任务超时:600秒(AI生成请求)
refactor(services): 统一使用配置化的代理超时参数
将硬编码的超时值替换为配置文件中的常量:
- 文件服务使用默认超时
- 聊天生成功能使用长任务超时
- 图片下载使用短任务超时
- 视频生成功能使用相应的默认、短、长超时配置
```
|
2026-02-02 17:05:31 +08:00 |
|
|
|
1ab7d94660
|
```
feat(config): 添加代理配置选项
添加USE_PROXY和PROXY_URL配置项以支持请求代理功能
feat(utils): 新增代理URL获取工具函数
引入get_proxied_url工具函数用于处理代理请求
refactor(services): 将所有外部API请求通过代理转发
修改file_service、generation_service和task_service中的requests.get/post调用,
统一使用get_proxied_url包装URL以支持代理访问外部API服务
```
|
2026-02-02 12:54:43 +08:00 |
|
|
|
a2f357a8f6
|
feat(task): 增加 Redis 状态缓存支持异步任务进度跟踪
- 在图像生成异步任务开始时设置 Redis 状态为队列中,提示任务已提交等待处理
- 在视频生成异步任务开始时设置 Redis 状态为队列中,提示视频任务已提交准备开始导演
- 图片生成处理函数开始时更新 Redis 状态为处理中,并显示绘制进度提示
- 视频生成轮询过程中定期更新 Redis 状态及进度提示,避免任务超时认为失败
- 增加心跳机制,保持任务活跃状态信息,提升用户体验
|
2026-01-23 18:01:54 +08:00 |
|
|
|
2453bb05ea
|
feat: Implement core API endpoints for AI content generation, user management, and Alipay payment processing.
|
2026-01-20 16:01:58 +08:00 |
|
|
|
1202291e4b
|
feat: Implement AI image, video, and chat generation features with integrated point and API key management.
|
2026-01-20 09:53:06 +08:00 |
|
|
|
824508f6a4
|
feat: implement core API and generation services for AI image, video, and chat functionalities, user history, and point management.
|
2026-01-20 09:29:01 +08:00 |
|
|
|
f548e8d6ab
|
feat: Implement core application structure with new services, blueprints, templates, and database migrations.
|
2026-01-17 23:15:58 +08:00 |
|