John Howe
a4e7b96d29
fix: remove nginx, restore imagine_fast selects, clean up docker-compose
...
- Remove nginx service and nginx/ directory (not in main branch)
- Restore imagine_fast size/response_format select inputs
- Revert grok2api to ports: 8000:8000 (direct expose)
- Remove dev-testing source mounts from docker-compose
- Restore warp port to 1080
2026-03-01 10:16:42 +08:00
John Howe
219125ffb9
fix: disable CF auto-refresh by default in docker-compose
...
Comment out FLARESOLVERR_URL env vars so CF refresh is not auto-enabled
on first docker compose up. Users can enable it by uncommenting the env
vars or toggling it in the admin panel.
2026-03-01 10:08:47 +08:00
John Howe
b85b87072b
fix: use loguru logging, empty default flaresolverr_url, add nginx config, mount local source
...
- Switch cf_refresh module from stdlib logging to loguru for consistent log output
- Set flaresolverr_url default to empty so FLARESOLVERR_URL env var triggers auto-enable
- Add nginx/conf/default.conf with SSE streaming support
- Mount local source files in docker-compose for development testing
- Change warp port to 1180 to avoid local conflict
2026-03-01 10:02:35 +08:00
John Howe
26504b672f
feat: add cf_refresh auto-refresh module and full Docker Compose deployment
...
- Add app/services/cf_refresh/ module (FlareSolverr-based cf_clearance auto-refresh)
- Integrate CF refresh startup/shutdown in main.py lifespan
- Add CF refresh config entries in config.defaults.toml (enabled, flaresolverr_url, refresh_interval, timeout)
- Update headers.py to use cf_cookies from FlareSolverr instead of single cf_clearance
- Add admin panel CF refresh UI with toggle-linked field disabling
- Docker Compose: add warp (SOCKS proxy), nginx (reverse proxy), flaresolverr containers
2026-03-01 09:48:13 +08:00
Chenyme
0d0ed8f833
Merge pull request #248 from qoomezhu/main
...
增加2000token显示每页,生图优先nfsw标签的token
2026-02-28 11:48:35 +08:00
Chenyme
6c32305cc6
Merge branch 'main' into pr/248
...
# Conflicts:
# app/services/grok/services/image.py
# config.defaults.toml
2026-02-28 10:58:22 +08:00
Chenyme
fc77dd2147
Merge pull request #240 from lijirou12/main
...
新增可通过对话调用imagine,完善稳定性与代理支持
2026-02-28 10:23:44 +08:00
Chenyme
45a8be9187
Merge branch 'main' into main
2026-02-28 10:23:34 +08:00
Chenyme
1c501e67ac
feat: Introduce grok-imagine-1.0-fast model, replacing grok-superimage-1.0, and update related documentation and API references.
2026-02-28 10:21:34 +08:00
Chenyme
3b4316c145
Merge pull request #236 from chenhuawang-04/fix/image-draft-filter-v2
...
fix: improve final image selection in stream processor
2026-02-28 09:24:29 +08:00
qoomezhu
547dbe9d15
Merge pull request #2 from qoomezhu/feat/image-mode-token-routing
...
image: 优先选择 nsfw-tag Token + WebSocket 重试配置
2026-02-28 00:29:38 +08:00
qoomezhu
12ffe27e09
Merge pull request #1 from qoomezhu/feat/page-size-2000
...
admin: Token 列表分页上限扩展到 2000
2026-02-28 00:29:01 +08:00
Mo Li
b128139785
Merge pull request #55 from lijirou12/codex/migrate-imagine-to-grok-superimage-1.0-zc14eb
...
Add grok-superimage server-side image flow, robust image retries and SSE error handling
2026-02-27 14:21:15 +08:00
Mo Li
e733e84a46
feat: make blocked review grace timeout configurable
2026-02-27 14:20:46 +08:00
Mo Li
0f7df444ca
Merge pull request #54 from lijirou12/codex/migrate-imagine-to-grok-superimage-1.0-jp2fkc
...
Add grok-superimage, robust image streaming/retries, SSE error handling, proxy and config safety
2026-02-27 14:09:24 +08:00
Mo Li
b6a77b7449
Merge branch 'main' into codex/migrate-imagine-to-grok-superimage-1.0-jp2fkc
2026-02-27 14:09:13 +08:00
Mo Li
09a842e0eb
feat: run blocked imagine retries in parallel when enabled
2026-02-27 14:08:42 +08:00
Mo Li
569a85bb61
Merge pull request #53 from lijirou12/codex/migrate-imagine-to-grok-superimage-1.0-db29lm
...
Add grok-superimage support, streaming/error handling, image recovery, and config/proxy improvements
2026-02-27 13:34:22 +08:00
Mo Li
1fbb103710
Merge branch 'main' into codex/migrate-imagine-to-grok-superimage-1.0-db29lm
2026-02-27 13:34:15 +08:00
Mo Li
5cc2f7913a
feat: add configurable parallel blocked-recovery with distinct tokens
2026-02-27 13:31:31 +08:00
Mo Li
4f80bba6b9
Merge pull request #52 from lijirou12/codex/migrate-imagine-to-grok-superimage-1.0-b6oi4l
...
Support grok-superimage and improve image streaming/retry, SSE error handling, proxy and config safety
2026-02-27 13:15:04 +08:00
Mo Li
eb868793b5
Merge branch 'main' into codex/migrate-imagine-to-grok-superimage-1.0-b6oi4l
2026-02-27 13:14:39 +08:00
Mo Li
63cbb98373
fix: reduce imagine stream aborts with blocked retries and explicit terminal error
2026-02-27 13:13:58 +08:00
qoomezhu
4445686b36
config(image): add ws_retries for imagine websocket
2026-02-27 13:04:49 +08:00
qoomezhu
8377575fe8
image: prefer nsfw-tag tokens + configurable ws retries
2026-02-27 13:03:39 +08:00
qoomezhu
d89f43bde6
token: allow pick_token() to prefer tagged tokens
2026-02-27 12:59:35 +08:00
qoomezhu
101c8ab1f3
token: allow get_token() to prefer tagged tokens
2026-02-27 12:59:19 +08:00
qoomezhu
87cba0cf6a
token: support prefer_tags when selecting token
2026-02-27 12:54:13 +08:00
qoomezhu
16332d611d
admin(token): add 500/1000/2000 page size options
2026-02-27 12:51:58 +08:00
Mo Li
8b0eed146b
Merge pull request #51 from lijirou12/codex/migrate-imagine-to-grok-superimage-1.0-y2p5rd
...
Add grok-superimage support, robust SSE streaming, image recovery and proxy/ retry fixes
2026-02-27 12:47:26 +08:00
Mo Li
545e13bcf8
Merge branch 'main' into codex/migrate-imagine-to-grok-superimage-1.0-y2p5rd
2026-02-27 12:47:15 +08:00
Mo Li
575abe8486
fix: guard retry.max_retry defaults to prevent NoneType conversion crash
2026-02-27 12:46:43 +08:00
Mo Li
33fee45fb8
Merge pull request #50 from lijirou12/codex/migrate-imagine-to-grok-superimage-1.0-65x674
...
Add grok-superimage support, safer SSE streaming, image recovery & proxy/ retry improvements
2026-02-27 12:29:35 +08:00
Mo Li
9b67bbeb1a
Merge branch 'main' into codex/migrate-imagine-to-grok-superimage-1.0-65x674
2026-02-27 12:29:28 +08:00
Mo Li
03eb8615b9
fix: retry blocked imagine outputs in parallel and enforce final-size filtering
2026-02-27 12:28:48 +08:00
Mo Li
9109a48794
Merge pull request #49 from lijirou12/codex/migrate-imagine-to-grok-superimage-1.0-63a3ay
...
Add grok-superimage server-side support, robust SSE streaming/errors, and proxy/imagine fixes
2026-02-27 11:43:28 +08:00
Mo Li
63d48cf0a3
Merge branch 'main' into codex/migrate-imagine-to-grok-superimage-1.0-63a3ay
2026-02-27 11:43:19 +08:00
Mo Li
7b22e13a73
fix: require true final imagine images before returning to clients
2026-02-27 11:42:21 +08:00
Mo Li
a39b65034e
Merge pull request #48 from lijirou12/codex/migrate-imagine-to-grok-superimage-1.0-fxv5c7
...
Add grok-superimage server-side config, robust SSE streaming errors, transient retry and proxy handling
2026-02-26 21:07:43 +08:00
Mo Li
adc079e951
Merge branch 'main' into codex/migrate-imagine-to-grok-superimage-1.0-fxv5c7
2026-02-26 21:06:57 +08:00
Mo Li
7b2f0b7ee2
fix: normalize SOCKS proxy scheme for app chat requests
2026-02-26 21:05:07 +08:00
Mo Li
6c255565e8
Merge pull request #47 from lijirou12/codex/migrate-imagine-to-grok-superimage-1.0-q2pii5
...
Add grok-superimage support, server-side image config and resilient streaming/error handling
2026-02-26 20:32:42 +08:00
Mo Li
c5c75fe093
fix: make chat requests honor SOCKS proxy settings explicitly
2026-02-26 20:28:19 +08:00
Mo Li
0724495167
Merge pull request #46 from lijirou12/codex/migrate-imagine-to-grok-superimage-1.0-ql75b8
...
Add grok-superimage server-side image mode; improve streaming error handling and transient retry logic
2026-02-26 19:46:12 +08:00
Mo Li
f6b6695937
Merge branch 'main' into codex/migrate-imagine-to-grok-superimage-1.0-ql75b8
2026-02-26 19:43:17 +08:00
Mo Li
a358872cb5
fix: avoid admin storage coroutine warning and skip futile transient retries
2026-02-26 19:41:00 +08:00
Mo Li
d2f2163d4c
Merge pull request #45 from lijirou12/codex/migrate-imagine-to-grok-superimage-1.0-pg7sej
...
Add grok-superimage model with server-side image config, improve SSE error handling and transient retry logic
2026-02-26 19:13:40 +08:00
Mo Li
978b5bdc1e
fix: improve chat timeout resilience and add superimage config dropdowns
2026-02-26 19:12:16 +08:00
Mo Li
4c5323416f
Merge pull request #44 from lijirou12/codex/migrate-imagine-to-grok-superimage-1.0-o26yja
...
Add grok-superimage model with server-side image config and robust SSE streaming/error handling
2026-02-26 18:39:24 +08:00
Mo Li
3bf14ecf13
Merge branch 'main' into codex/migrate-imagine-to-grok-superimage-1.0-o26yja
2026-02-26 18:38:56 +08:00