XianYuDaXian
4b24fb700e
feat: 拆分日志配置并增强管理页
2026-03-28 11:00:08 +08:00
XianYuDaXian
e08244ed20
feat: 完善图片来源与画廊展示
2026-03-28 10:26:16 +08:00
XianYuDaXian
c16a027e0e
feat(chat): 支持展示 grok 回复图片
2026-03-25 11:43:25 +08:00
XianYuDaXian
83ae47d61c
feat: 更新 4.20 模型与模型池拖拽路由
2026-03-20 13:51:29 +08:00
XianYuDaXian
8cd0e780cb
fix: 统一视频延长回退与 post_id 元数据来源
2026-03-14 18:04:59 +08:00
XianYuDaXian
4b38fda7fa
fix: 优化视频延长等待与时长设置
2026-03-14 15:34:17 +08:00
XianYuDaXian
944896e7eb
feat: 合并上游 PR 252 (集成 FlareSolverr 与 WARP 绕过 Cloudflare 防护)
2026-03-05 16:20:15 +08:00
root
ab96be1b0e
fix: 优化提示词增强与弱网超时重试,修复视频页parentPostId识别
2026-03-04 19:58:00 +08:00
root
c1a2c3bc00
fix(voice): 移动端LiveKit连接稳定性修复(含signal代理与回退)
2026-02-17 11:40:06 +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
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
d93824f781
refactor: remove deprecated smart token routing configuration and related test
2026-02-08 16:06:09 +08:00
double2tea
01dcea9b7c
feat: implement smart token routing for video generation
...
- Add get_token_for_video() method to select token pool based on video requirements
- 720p or >6s videos automatically use ssoSuper token
- 480p and ≤6s videos use ssoBasic token
- Fallback to ssoBasic when ssoSuper is unavailable
- Add configuration options for smart routing
- Add test file for token routing logic
This solves the issue where non-SSO Super tokens were silently downgraded
to 480p by Grok API when requesting 720p videos.
2026-02-08 03:16:37 +08:00
Chenyme
bcd94069a7
feat: migrate configuration structure to improve organization and flexibility
2026-02-07 13:30:50 +08:00
Chenyme
b65b4e0032
Merge branch 'main' into imagine
2026-02-07 10:52:37 +08:00
GeJiaXiang
7f794f9185
feat: 添加浏览器指纹配置支持,优化配置页面分组
...
- 新增 grok.browser 和 grok.user_agent 配置项,支持自定义 curl_cffi 指纹和 User-Agent
- 将 CF Clearance、curl_cffi、User-Agent 三个字段在前端独立为"反爬虫验证"分组
- 添加分组说明:首次请求 IP 需与获取 CF Clearance 时一致
- 调整"禁用记忆"字段位置至"临时对话"下方
- 移除 docker-compose.yml 中无效的 GROK_DISABLE_MEMORY 环境变量
2026-02-07 09:52:39 +08:00
Chenyme
23a712eeb7
feat: add WebSocket support for image generation and editing, enhance configuration options for image processing
2026-02-07 02:16:11 +08:00
Chenyme
7d2cba0310
feat: increase stream idle timeout to 120 seconds and add normalization for stream response lines
2026-02-06 16:47:13 +08:00
Chenyme
a2c2b1ba7f
feat: add super refresh interval configuration and update token management logic
2026-02-04 23:34:58 +08:00
Chenyme
63137d6d30
fix: update configuration for Grok model and adjust API key documentation
2026-02-04 22:26:55 +08:00
Chenyme
b8997a22ef
fix: update video configuration and format handling
2026-02-04 18:27:15 +08:00
piexian
2a50326517
fix: 修复 Token 失效标记及日志相关问题
...
Token 失效标记修复:
- record_fail() 同时接受 401 和 403 状态码
- consume() 不再清零 fail_count,只有 record_success() 才清零
- _wrap_stream() 只在成功完成时调用 consume(),失败时不扣费
其他修复:
- 优化日志输出和错误处理
- 改进重试机制
- 完善配置默认值
2026-02-04 04:57:16 +08:00
Chenyme
b11aace053
feat: optimize frontend batch processing logic
2026-02-03 23:15:13 +08:00
piexian
41d5a8d48f
feat: 添加 NSFW 启用功能、Token 筛选标签页及修复 use_count 统计
...
新增功能:
- 添加 gRPC-Web 协议工具用于 NSFW API 调用
- 添加批量执行工具支持并发控制
- 添加 NSFW 服务及管理 API 端点 POST /api/v1/admin/tokens/nsfw/enable
- 添加 Token 状态筛选标签页(全部/正常/限流/失效)支持 ARIA 无障碍
- 添加批量启用 NSFW 按钮到 Token 管理工具栏
缺陷修复:
- 修复 use_count 统计:在 chat/video/image 完成后调用 consume()
- 修复 use_count 计算:使用 actual_cost 替代 cost 避免过度计数
- 修复 toggleSelectAll 仅选择当前筛选结果
配置变更:
- 添加 NSFW 相关配置项到 config.defaults.toml
2026-02-03 08:00:45 +08:00
Chenyme
94582265c1
feat: optimize initialization services and configurations
2026-02-02 21:16:50 +08:00