Commit Graph
100 Commits
Author SHA1 Message Date
wangbo d0cfd0a385 Merge pull request 'feat: 合并网关能力与兼容性优化' (#15) from codex/gateway-feature-batch-20260721 into main
ci / verify (push) Successful in 10m38s
2026-07-22 01:17:45 +08:00
wangbo 0818f55235 fix(billing): 保留规则集未覆盖的基础资源价格
ci / verify (pull_request) Successful in 12m21s
2026-07-22 00:57:50 +08:00
wangbo fe83da56d2 test(e2e): 增加视频生产验收脚本与记录
ci / verify (pull_request) Failing after 3m43s
2026-07-22 00:25:22 +08:00
wangbo 002422b753 fix(catalog): 同步 GLM-5.2 文本能力配置 2026-07-22 00:25:22 +08:00
wangbo 24b778b3ba docs(api): 同步模型权限与 Kling 接口契约 2026-07-22 00:25:22 +08:00
wangbo d7951cfdd2 feat(volces): 接入任务兼容查询与上游取消 2026-07-22 00:25:22 +08:00
wangbo ddd68cfebd feat(seedance): 接入真人资产管理与引用 2026-07-22 00:25:22 +08:00
wangbo 5a71643099 feat(kling): 接入 Omni 视频兼容接口 2026-07-22 00:25:05 +08:00
wangbo b04a7d9d3d feat(web): 支持文档页真实提交请求 2026-07-22 00:24:36 +08:00
wangbo 6b675c406e fix(billing): 修正模型计费配置继承优先级 2026-07-22 00:24:36 +08:00
wangbo 56d4a3a6b7 fix(access): 修正 API Key 可分配模型范围 2026-07-22 00:24:36 +08:00
wangbo 276c0612d8 refactor(task): 复用网关任务创建流程 2026-07-22 00:24:36 +08:00
wangbo d818e7947a 调整 Gemini 模型接口路由 2026-07-22 00:24:36 +08:00
wangbo cc3bbeccc2 feat(web): 完善 API 文档与异步任务说明 2026-07-17 15:42:46 +08:00
wangbo 2d6c16fec0 chore(deps): 更新依赖包版本并添加vitest
- 将typescript从5.8.0更新至5.9.3版本
- 新增vitest依赖包,版本为3.2.4
- 配置vitest的子依赖关系包括@types/debug、jiti、lightningcss和yaml
2026-07-17 13:57:37 +08:00
wangbo 0d18df54f1 feat: 增加计费预估核对运维流程 2026-07-17 13:57:21 +08:00
wangbo bdcf9af5d6 chore: 忽略本地构建产物 2026-07-17 13:54:32 +08:00
wangbo 5ee267ecbd feat: 完善模型请求适配与输出限制 2026-07-17 13:52:00 +08:00
wangbo a24eb1aeb0 feat: 自托管 AI Gateway 运维管理 SKILL 2026-07-16 23:57:14 +08:00
wangbo 30ad0e9f2c fix(gemini): 使用 JSON Schema 传递工具参数 2026-07-14 12:55:44 +08:00
wangbo 17b1f77e1d Merge remote-tracking branch 'origin/main' 2026-07-13 13:28:19 +08:00
wangbo 9c300de72c feat(gateway): add Seedream 5.0 Pro 2026-07-13 12:53:48 +08:00
wangbo 03abc0eab7 feat(gateway): 接入统一认证中心本地登录 2026-07-12 20:45:35 +08:00
wangbo f8d766b916 feat: enforce OIDC session introspection 2026-07-12 05:44:37 +08:00
wangbo b9c0e1a7a5 feat: add stable OIDC authentication 2026-07-12 05:14:23 +08:00
wangbo 1e82253f43 chore: save Responses validation artifacts 2026-07-11 01:49:06 +08:00
wangbo 8847d973a8 feat: add Responses API compatibility 2026-07-10 23:33:15 +08:00
wangbo b7351f3b9b feat(runtime): 适配推理模式开关 2026-07-06 02:03:03 +08:00
wangbo 797edeedf4 feat(gateway): sync Seedance 2.0 capabilities 2026-06-30 21:20:09 +08:00
wangbo 24eb68cc09 feat: use message LCP cache affinity keys 2026-06-29 15:47:57 +08:00
wangbo 229ed6a669 Merge remote-tracking branch 'origin/main' 2026-06-28 20:50:27 +08:00
wangbo 0e675e259c feat: add runner failover rules and cache affinity 2026-06-28 20:50:23 +08:00
wangbo 41bb3a6525 修复 Gemini 兼容路由启动失败 2026-06-27 21:46:57 +08:00
wangbo 88402f67d3 feat: seed latest coding models 2026-06-27 17:11:48 +08:00
wangbo c15842a94d feat: add Gemini image compatibility 2026-06-24 00:42:49 +08:00
wangbo 7f32446466 feat: support cached input token billing 2026-06-23 17:17:57 +08:00
wangbo 6089aa6085 feat: support cloned voice deletion 2026-06-17 12:03:13 +08:00
wangbo c4341335d7 feat: 支持 MiniMax 音色克隆和 2.8 语音模型 2026-06-17 02:13:21 +08:00
wangbo 02ba5d3cdd 修复模型引用与账单展示 2026-06-15 00:17:20 +08:00
wangbo 10ec25d87b Handle Gemini inline data in asset and size processing 2026-06-15 00:14:40 +08:00
wangbo b860ef37e8 增加单一源保护全局策略 2026-06-15 00:14:40 +08:00
wangbo a8fa8dd212 fix: 兼容像素分辨率参数 2026-06-08 23:21:14 +08:00
wangbo 97f29ed156 Restore standard MiniMax resolutions and client mapping 2026-06-08 09:29:45 +08:00
wangbo ca5e71c8e8 Prefer public URLs and fall back to base64 for image inputs 2026-06-08 08:38:53 +08:00
wangbo 679bfeb9c9 Add multipart image edit support 2026-06-08 01:17:42 +08:00
wangbo b7500d81d1 补全图像尺寸预处理约束 2026-06-07 23:55:25 +08:00
wangbo 4d1a01ec71 Expire local static assets after 24 hours 2026-06-07 19:29:04 +08:00
wangbo f47132a653 完善 API Key 能力范围可视化和维护 2026-06-07 19:01:32 +08:00
wangbo dc14866210 迁移音频生成与语音合成到 gateway 并补充 simulation 测试 2026-06-07 10:26:57 +08:00
wangbo 78ab867a9f 区分请求资源 base64 格式并按平台恢复 2026-06-05 23:07:25 +08:00
wangbo d41d9482c7 Add runtime restore and temp asset cleanup 2026-06-05 20:28:26 +08:00
wangbo 644a6f9d17 完善文档页文本向量与重排序调用支持 2026-05-31 21:18:41 +08:00
wangbo 8ee7a7969e feat: expose retry priority in retry chain 2026-05-30 14:25:29 +08:00
wangbo a6f1be8f07 同步默认运行策略不限流 2026-05-29 20:22:44 +08:00
wangbo 2aeb47d6a5 fix(gateway): normalize model alias billing identity 2026-05-28 01:19:28 +08:00
wangbo f5c69b9852 feat: support image quality control 2026-05-28 00:17:27 +08:00
wangbo 1d3a4f1da9 Merge remote-tracking branch 'origin/main' 2026-05-26 23:21:21 +08:00
wangbo 50abcea352 feat: update qwen base catalog 2026-05-26 21:40:46 +08:00
wangbo 3d23918542 fix(model-catalog): refine summary capability filters 2026-05-24 23:38:31 +08:00
wangbo 355d8cad74 fix(model-catalog): align enabled model summary 2026-05-24 23:06:24 +08:00
wangbo 71950d2b4f fix(rate-limits): treat empty policies as unlimited 2026-05-24 22:28:25 +08:00
wangbo 6d99e26e2a feat(admin): support provider model presets 2026-05-24 22:28:07 +08:00
wangbo 6f730be0cd Document Docker Compose deployment workflow 2026-05-23 21:13:23 +08:00
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
wangbo af9b281d34 feat(api): migrate media clients and universal scripts 2026-05-20 21:29:07 +08:00
wangbo 11a2c13e4a fix: prefer generated video metadata for billing 2026-05-20 00:11:28 +08:00
wangbo 69d23efb57 fix(clients): preserve gemini tool call responses 2026-05-19 21:32:50 +08:00
wangbo baffccf8f8 Merge pull request #4 from feat/chat-completions-compat 2026-05-19 21:31:15 +08:00
wangbo 73c6d43e4b feat: filter candidates by request resolution 2026-05-18 15:50:08 +08:00
wangbo ba419cd90a fix task duration recording 2026-05-18 01:06:52 +08:00
wangbo d09a4c2e4d feat(clients): 添加Keling客户端支持视频生成和多模态功能
- 实现KelingClient结构体及其Run方法,支持视频生成功能
- 添加对image2video、text2video和omni-video任务类型的完整支持
- 集成Keling平台的身份验证机制,包括JWT令牌生成
- 实现视频任务的提交和轮询逻辑,支持异步处理流程
- 添加对多种输入格式的支持,包括图像帧、基础视频和参考素材
- 实现Keling元素管理和清理机制,处理临时创建的素材
- 在服务初始化中注册keling和kling两个提供商标识
- 添加数据库迁移脚本,更新Keling模型的音频功能配置
- 完善错误处理和重试机制,提升服务稳定性
- 编写完整的单元测试,覆盖各种视频生成场景和边界情况
2026-05-17 22:08:55 +08:00
wangbo 90c3315468 fix(runner): record failed task attempts 2026-05-17 20:50:20 +08:00
wangbo 37d0f919e5 feat: add gateway billing estimate and rate limit details 2026-05-15 01:53:52 +08:00
wangbo bdc9be63d5 Refine playground composer and settings layout 2026-05-15 01:08:54 +08:00
wangbo a4f731af88 Unify media preview loading background 2026-05-14 23:42:12 +08:00
wangbo c0cfae475d Handle 401 auth expiry and float playground errors 2026-05-14 23:29:38 +08:00
wangbo 170fd8655c feat(web): improve playground media resource prompts 2026-05-14 01:17:59 +08:00
wangbo cdf469eccf Split param processor and tighten Volces frame validation 2026-05-14 00:41:06 +08:00
wangbo 3225833f96 fix: align video generation payloads 2026-05-14 00:14:54 +08:00
wangbo f254551522 Fix prompt placeholder overlap during IME input 2026-05-13 23:47:05 +08:00
wangbo f1535a94c2 fix: preprocess message content by model capability 2026-05-13 23:39:11 +08:00
wangbo b8a716169f Refactor gateway task handling and recording flow 2026-05-13 23:26:20 +08:00
wangbo 0cd4e6fed1 feat: optimize playground media references 2026-05-13 22:06:13 +08:00
wangbo 5868dd7e68 chore(gitignore): 更新忽略配置文件
- 添加 apps/api/data/ 目录到忽略列表
- 移除多余的换行符以优化文件格式
2026-05-13 21:06:47 +08:00
wangbo 62d9170e65 fix: add local static file storage fallback 2026-05-13 20:53:07 +08:00
wangbo fc5dfd6bc5 feat: add file storage settings and uploads 2026-05-13 20:23:45 +08:00
wangbo 0d0d0b9115 fix: normalize video duration steps 2026-05-13 12:29:00 +08:00
wangbo 2685450f3e Restrict priority demotion to same-model peers 2026-05-13 08:37:39 +08:00
wangbo e778fad6ed Show admin save feedback and preserve custom failover actions 2026-05-12 21:57:10 +08:00
wangbo a76ab941bc Add platform status switch 2026-05-12 21:49:08 +08:00
wangbo 682a491d27 Decouple stream cancellation and clarify failover rules 2026-05-12 21:32:23 +08:00
wangbo 98abd247d6 feat: add priority demotion controls 2026-05-12 18:43:20 +08:00
wangbo 3917b84b5d fix(ui): 修复媒体网格滚动和空状态显示问题
- 移除媒体网格的最大高度限制和自动垂直滚动
- 将媒体空状态占位符从网格布局改为弹性布局
- 添加媒体空状态占位符的文字居中和行高设置
- 修复API中任务ID类型转换问题
2026-05-12 17:01:06 +08:00
wangbo c2696e7bbe feat(api): add load-aware client fallback 2026-05-12 16:59:51 +08:00
wangbo c5cede2359 fix: polish parameter preprocessing details 2026-05-12 15:42:39 +08:00
wangbo b9c9f457e9 feat: add parameter preprocessing audit trail 2026-05-12 13:54:51 +08:00
wangbo 9ea83be718 Fix realtime queued task counts 2026-05-12 10:41:07 +08:00
wangbo 2a91b31d12 fix: treat local rate limit queueing separately 2026-05-12 10:34:06 +08:00
wangbo ddfd4f9035 feat: add realtime load admin page 2026-05-12 10:18:34 +08:00
wangbo 7e220b7477 feat: add river-backed async task queue 2026-05-12 10:11:54 +08:00