easyai-ai-gateway/apps/api/internal/runner
wangbo 8ad5b06c18 feat(api): 添加多媒体内容支持并优化钱包计费系统
- 在 API 接口定义中为 video_url 和 audio_url 类型添加 mime_type 字段
- 实现 Google Gemini 客户端对视频和音频内容的支持,包括媒体类型检测和数据传输
- 添加 Gemini 客户端测试用例验证多媒体内容转换功能
- 重构 Playground 页面的媒体上传逻辑以支持 MIME 类型传递
- 实现钱包计费预留机制,确保任务执行前余额充足
- 添加钱包冻结余额管理,防止并发操作导致的超扣问题
- 实现计费预留释放逻辑,处理任务失败或取消情况下的资金返还
- 优化数据库事务处理,确保计费操作的原子性和一致性
- 添加数据库集成测试验证迁移脚本执行流程
- 统一 Google Gemini 相关模型提供商标识符映射
2026-05-22 23:46:08 +08:00
..
candidate_filter_test.go feat: filter candidates by request resolution 2026-05-18 15:50:08 +08:00
candidate_filter.go feat: filter candidates by request resolution 2026-05-18 15:50:08 +08:00
helpers.go feat: enrich task record details 2026-05-10 22:33:58 +08:00
limits_test.go feat: improve model rate limit tracking 2026-05-12 03:22:29 +08:00
limits.go feat: add gateway billing estimate and rate limit details 2026-05-15 01:53:52 +08:00
param_processor_media.go Split param processor and tighten Volces frame validation 2026-05-14 00:41:06 +08:00
param_processor_message.go Split param processor and tighten Volces frame validation 2026-05-14 00:41:06 +08:00
param_processor_script_test.go feat(api): migrate media clients and universal scripts 2026-05-20 21:29:07 +08:00
param_processor_script.go feat(api): migrate media clients and universal scripts 2026-05-20 21:29:07 +08:00
param_processor_test.go Split param processor and tighten Volces frame validation 2026-05-14 00:41:06 +08:00
param_processor_utils.go feat: filter candidates by request resolution 2026-05-18 15:50:08 +08:00
param_processor_video_content.go Split param processor and tighten Volces frame validation 2026-05-14 00:41:06 +08:00
param_processor.go Split param processor and tighten Volces frame validation 2026-05-14 00:41:06 +08:00
pricing_test.go fix: prefer generated video metadata for billing 2026-05-20 00:11:28 +08:00
pricing.go fix: prefer generated video metadata for billing 2026-05-20 00:11:28 +08:00
proxy_test.go feat(admin): 添加网络代理配置和钱包交易功能 2026-05-11 23:02:10 +08:00
proxy.go feat(admin): 添加网络代理配置和钱包交易功能 2026-05-11 23:02:10 +08:00
queue_worker.go feat: add river-backed async task queue 2026-05-12 10:11:54 +08:00
recording.go feat: filter candidates by request resolution 2026-05-18 15:50:08 +08:00
retry_decision_test.go feat: add priority demotion controls 2026-05-12 18:43:20 +08:00
retry_decision.go feat: add priority demotion controls 2026-05-12 18:43:20 +08:00
runtime_policy.go Restrict priority demotion to same-model peers 2026-05-13 08:37:39 +08:00
service_test.go feat(api): 添加多媒体内容支持并优化钱包计费系统 2026-05-22 23:46:08 +08:00
service.go feat(api): 添加多媒体内容支持并优化钱包计费系统 2026-05-22 23:46:08 +08:00
trace.go fix(runner): record failed task attempts 2026-05-17 20:50:20 +08:00
upload_test.go fix: add local static file storage fallback 2026-05-13 20:53:07 +08:00
upload.go fix: add local static file storage fallback 2026-05-13 20:53:07 +08:00
video_duration.go fix: prefer generated video metadata for billing 2026-05-20 00:11:28 +08:00
wallet_execute_test.go feat(api): 添加多媒体内容支持并优化钱包计费系统 2026-05-22 23:46:08 +08:00