Commit Graph
169 Commits
Author SHA1 Message Date
Chenyme 2b03240efb chore: update vercel configuration to use FastAPI framework 2026-02-08 00:20:49 +08:00
Chenyme b47d847e88 docs: support vercel deploy 2026-02-08 00:10:54 +08:00
Chenyme 64180c6e3a feat: add root redirect endpoint to admin API for improved navigation 2026-02-07 23:50:38 +08:00
Chenyme 14c46255bd feat: implement Imagine session management with WebSocket and SSE support for real-time image generation 2026-02-07 23:48:28 +08:00
Chenyme 0bd1aaf335 feat: introduce DATA_DIR environment variable for configurable data storage paths 2026-02-07 23:00:29 +08:00
Chenyme 4206abf474 feat: add LOG_FILE_ENABLED environment variable to control file logging 2026-02-07 22:49:33 +08:00
Chenyme 4f174253e6 docs: update README files to include one-click deploy instructions for Render and enhance clarity in API documentation 2026-02-07 22:36:36 +08:00
Chenyme a84880c75b feat: add Imagine feature with WebSocket support for real-time image generation 2026-02-07 16:37:50 +08:00
Chenyme 51944d122f feat: enhance image processing error handling and logging 2026-02-07 13:58:35 +08:00
Chenyme d99e29ed48 Merge pull request #139 from chenyme/optimize
refactor: optimize code framework and project configuration
2026-02-07 13:43:11 +08:00
Chenyme a692725baa chore: remove deprecated grok configuration options to streamline settings 2026-02-07 13:38:08 +08:00
Chenyme 8361e65c31 refactor: clean up code formatting and improve readability across multiple files 2026-02-07 13:34:55 +08:00
Chenyme bcd94069a7 feat: migrate configuration structure to improve organization and flexibility 2026-02-07 13:30:50 +08:00
Chenyme 5d369596c5 feat: improve token management and logging across services 2026-02-07 13:11:23 +08:00
Chenyme 2e201b5ebf feat: enhance configuration management and service initialization 2026-02-07 12:40:42 +08:00
Chenyme b132590045 feat: enhance configuration options across services for improved flexibility 2026-02-07 11:32:25 +08:00
Chenyme c3c60a00d2 Merge pull request #136 from chenyme/imagine
feat: add WebSocket support for image generation and editing, enhance configuration options for image processing
2026-02-07 10:53:55 +08:00
Chenyme b65b4e0032 Merge branch 'main' into imagine 2026-02-07 10:52:37 +08:00
Chenyme e0ecde53ce Merge pull request #135 from shellus/main
feat: 添加浏览器指纹配置支持,优化配置页面分组
2026-02-07 10:46:50 +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 c436236717 Merge pull request #131 from shellus/main
fix: 将 disableMemory 改为可配置项,默认禁用服务端记忆
2026-02-07 00:55:18 +08:00
GeJiaXiang 3731cf545e fix: 将 disableMemory 改为可配置项,默认禁用服务端记忆
共享 token 池场景下,disableMemory: False 会导致:
1. 不同用户的对话记忆相互污染
2. 历史记忆覆盖当前用户指令

现改为通过 grok.disable_memory 配置,默认 True
2026-02-06 23:00:04 +08:00
Chenyme 249fd9c90a Merge pull request #128 from chenyme/fix_nsfw
feat: enhance token management with normalization and improved error handling for token updates
2026-02-06 22:44:50 +08:00
Chenyme f937d57d1e feat: enhance token management with normalization and improved error handling for token updates 2026-02-06 17:12:50 +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 17928b49f0 feat: enhance token and voice functionalities with improved error handling and support for microphone permissions 2026-02-06 15:46:24 +08:00
Chenyme 0f13342812 Merge pull request #126 from chenyme/image_edit
feat: update image processing API to support response format customization and enhance request validation
2026-02-06 15:43:21 +08:00
Chenyme 9d6af73f35 feat: update image processing API to support response format customization and enhance request validation 2026-02-06 15:36:12 +08:00
Chenyme f84f5f4d6a refactor: remove voice service and related API, integrate voice functionality into admin routes 2026-02-06 14:19:17 +08:00
Chenyme ef5a8dc8e5 refactor: reorganize imports and create new services for models, assets, and media processing 2026-02-06 10:12:48 +08:00
Chenyme 270a1350a4 Merge pull request #124 from iqiu2023/main
添加 audio live 功能
2026-02-06 10:03:50 +08:00
ai88030669 02d45b9bd0 补充下参数 2026-02-05 21:10:07 +08:00
ai88030669 32565a8e33 添加了audio live 功能 2026-02-05 19:17:54 +08:00
Chenyme 4a66777761 feat: support grok 4 heavy models 2026-02-05 15:15:01 +08:00
Chenyme 46fe924e39 feat: update avalibale models 2026-02-05 15:13:25 +08:00
Chenyme 18f069085b Merge pull request #119 from chenyme/fix_payload
refactor: merge image attachments into file attachments
2026-02-04 23:42:28 +08:00
Chenyme 33067da097 refactor: merge image attachments into file attachments 2026-02-04 23:40:49 +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 e9a7c79b08 fix: update authentication and configuration documentation 2026-02-04 22:18:59 +08:00
Chenyme 1889efd63b Merge pull request #117 from chenyme/video&nsfw
fix: update Grok model configurations to include fast and expert modes
2026-02-04 19:10:54 +08:00
Chenyme acbdc6c752 fix: update Grok model configurations to include fast and expert modes 2026-02-04 19:10:15 +08:00
Chenyme 5fe2a25977 Merge pull request #116 from chenyme/video&nsfw
fix: update video configuration and format handling
2026-02-04 18:30:44 +08:00
Chenyme b8997a22ef fix: update video configuration and format handling 2026-02-04 18:27:15 +08:00
Chenyme 765f7ac39f Merge pull request #114 from piexian/fix/frontend-improvements
fix: 前端改进、安全修复与代码规范
2026-02-04 18:01:34 +08:00
Chenyme 76c7c1cc0d fix: added backend API Key retrieval functionality and updated authentication logic 2026-02-04 17:58:58 +08:00
piexian 79008ca737 fix(processor): 修复 XSS 漏洞并移除冗余正则
- 使用 html.escape 转义视频 URL 防止 XSS 注入
- 移除 _filter_content 中冗余的 pattern2 正则
2026-02-04 07:48:05 +08:00
piexian 4cbfd49fef fix(auth): 未配置 api_key 时使用默认密钥 grok2api
修复安全问题:移除空值跳过验证逻辑,确保 API 始终需要认证。
同步更新 readme 中 api_key 默认值文档。
2026-02-04 07:47:54 +08:00
piexian d25d2eae18 style: 修复 ruff 代码规范问题
- 修复裸 except 为 except Exception
- 修复单行多语句 (E701)
- 移除未使用的导入 (F401)
- 添加 noqa 注释忽略 main.py 的 E402 (设计决策)
- 代码格式化
2026-02-04 06:40:29 +08:00