Commit Graph
241 Commits
Author SHA1 Message Date
root 1f8b317e4e feat(video): 增加本地锁帧拼接编辑模式 2026-02-17 17:19:11 +08:00
root 51eeac2c8f fix(chat): 修复self.chat调用参数顺序导致的SyntaxError 2026-02-17 14:59:02 +08:00
root e471769b38 feat(log): 同时打印请求模型与上游模型及模式 2026-02-17 14:58:05 +08:00
root e9273a6337 fix(admin-ui): 修复Token页筛选标签夜间模式浅色问题 2026-02-17 14:54:46 +08:00
root 4092eac846 fix(admin-ui): 补齐夜间模式灰阶控件样式覆盖 2026-02-17 14:52:03 +08:00
root 28a522a2c1 fix(ui): 修复夜间模式 toast 仍为浅色 2026-02-17 14:50:36 +08:00
root d71b3d6e68 fix(nsfw): 将视频并发上限统一限制为4 2026-02-17 14:36:50 +08:00
root 9c78087bf7 fix(video-api): 修正顶层n被concurrent默认值覆盖问题 2026-02-17 14:32:07 +08:00
root 7c997ea671 fix(video-api): 对齐图片参数风格并兼容n字段 2026-02-17 14:30:30 +08:00
root 69dcf2fe0c fix(logging): 放宽请求参数日志展开深度 2026-02-17 14:24:06 +08:00
root f3ddb5ecf4 fix(logging): 修复请求参数日志导致的KeyError 2026-02-17 14:20:36 +08:00
root bee1a00472 feat(logging): 全局打印对外端点入参与缩略 2026-02-17 14:18:05 +08:00
root 9a91f7dea0 feat(video-web): 支持并发视频生成与多任务展示 2026-02-17 13:26:26 +08:00
root 429ced2d23 feat(video-api): 支持并发视频数参数 2026-02-17 13:26:17 +08:00
root c1a2c3bc00 fix(voice): 移动端LiveKit连接稳定性修复(含signal代理与回退) 2026-02-17 11:40:06 +08:00
Chenyme ee6ac473d8 chore: remove unused files 2026-02-16 01:18:50 +08:00
Chenyme ad92974ccc rrefactor: change admin and public API routers to compatible vercel 2026-02-16 01:06:03 +08:00
Chenyme f4e0ae4a1f refactor: reorganize router imports and streamline static file service in main.py 2026-02-16 00:34:34 +08:00
Chenyme bc70fa6ab1 Merge branch 'main' of https://github.com/chenyme/grok2api 2026-02-16 00:21:27 +08:00
Chenyme ea86c91bbc fix: vercel deploy error 2026-02-16 00:21:09 +08:00
Chenyme dbfa7a5d4a Merge pull request #172 from chenyme/fix_models_tier
refactor: change model tier from SUPER to BASIC
2026-02-16 00:10:00 +08:00
Chenyme acf605d5c6 refactor: change model tier from SUPER to BASIC for GROK-4.1-EXPERT and GROK-4.1-THINKING 2026-02-16 00:08:54 +08:00
Chenyme 6720be9f21 Merge pull request #166 from salmanmkc/upgrade-github-actions-node24-general
Upgrade GitHub Actions to latest versions
2026-02-15 19:46:34 +08:00
Chenyme 368ffffdab Merge pull request #165 from salmanmkc/upgrade-github-actions-node24
Upgrade GitHub Actions for Node 24 compatibility
2026-02-15 19:46:08 +08:00
Chenyme cd9eb0b276 Merge pull request #169 from chenyme/refactor-grok-reverse
Refactor grok reverse
2026-02-15 18:40:25 +08:00
Chenyme 01fd280098 docs: update README files to reflect changes in model names and image source for better clarity 2026-02-15 18:39:54 +08:00
Chenyme b62a4548e5 docs: update README files to include support for text-to-video and image-to-video features 2026-02-15 18:23:19 +08:00
Chenyme 8c275163c4 chore: update version to 0.3.0 across multiple files, including CSS and JS resources, and enhance page titles for better clarity 2026-02-15 18:15:47 +08:00
Chenyme 2611aad43e chore: update version to 0.3.0, enhance configuration migration logic, and remove outdated README notes 2026-02-15 18:08:10 +08:00
Chenyme 7b093288dc docs: update README and documentation to reflect new features, including video generation and improved deployment instructions 2026-02-15 18:01:34 +08:00
Chenyme 928faabbac refactor: update configuration settings, enhance public API integration, and streamline service imports while removing deprecated files 2026-02-15 17:43:57 +08:00
Chenyme 7f0db522ae refactor: enhance configuration management by adding public API key support, reorganizing chat and image settings, and removing deprecated components 2026-02-15 00:39:30 +08:00
Chenyme d04bc4ee4c refactor: streamline chat and video processing services, enhance validation, and remove unused components 2026-02-13 20:22:52 +08:00
Chenyme 6257b68527 refactor: remove unused files and streamline batch processing configuration in services 2026-02-13 14:21:11 +08:00
Chenyme e5df9ca323 refactor: reorganize batch processing utilities and update import paths across services 2026-02-13 14:01:40 +08:00
Chenyme c62faf193b refactor: update import paths for ModelService and remove unused model files 2026-02-13 13:36:16 +08:00
Chenyme 6228788956 refactor: consolidate usage configuration and update related services for improved clarity and performance 2026-02-13 13:27:45 +08:00
Chenyme 314102dcba feat: add NSFW configuration and refactor related services for improved management 2026-02-13 13:00:12 +08:00
Chenyme 0d0e793181 feat: enhance asset management configuration and services 2026-02-13 11:25:50 +08:00
Chenyme 432acf41cf refactor: replace DownloadService with CacheService in admin API and update related methods 2026-02-13 00:31:05 +08:00
Salman Muin Kayser Chishti 5c6fa23bba Upgrade GitHub Actions to latest versions
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
2026-02-12 11:22:07 +00:00
Salman Muin Kayser Chishti a104ba08a2 Upgrade GitHub Actions for Node 24 compatibility
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
2026-02-12 11:22:02 +00:00
Chenyme 716e274b89 refactor: update GROK services and remove unused components 2026-02-11 17:35:25 +08:00
Chenyme eb00bbd57d chore: remove unused gRPC-Web protocol files 2026-02-11 16:10:08 +08:00
Chenyme 9967bdd90e refactor: optimize base64 validation and enhance header logging 2026-02-11 15:14:38 +08:00
Chenyme 90fc016807 merge: remove unused header, retry, and Statsig utility files 2026-02-11 11:32:54 +08:00
Chenyme a864751543 Merge remote-tracking branch 'origin/main' into reactor_reverse 2026-02-11 11:01:04 +08:00
Chenyme 86a6642ef0 Merge pull request #160 from piexian/main
feat: 跨 Token 重试 + Token 刷新修复
2026-02-11 10:49:31 +08:00
piexian b06bd8d83f refactor: 跨 Token 重试次数改为读取 retry.max_retry 配置
将 ChatService 中跨 Token 重试的硬编码 max_token_retries=3 改为
从 retry.max_retry 配置项读取,与内层重试机制保持一致。
2026-02-11 01:02:13 +08:00
piexian f53e412b4e feat: 添加跨 Token 重试机制,429 配额不足时自动换 Token
- 在 ChatService.completions() 中实现跨 Token 重试循环,最多尝试 3 个
  不同 Token,遇到 429 时标记当前 Token 为 COOLING 并切换下一个
- TokenPool.select() 和 TokenManager.get_token() 增加 exclude 参数,
  支持排除已失败的 Token
- 新增 TokenManager.mark_rate_limited() 方法,将 429 的 Token 配额
  归零并标记 COOLING,等待 Scheduler 刷新恢复
- 内层 retry_on_status 不再重试 429,避免对同一耗尽 Token 做无意义重试
- 循环耗尽后兜底抛出异常,避免隐式返回 None
2026-02-10 20:49:51 +08:00