GitHub PAT requires username:token format in the URL. Using just token@
causes git to prompt for a password interactively, which fails in
non-interactive environments like Docker containers.
feat: add cloudmail provider and privacy masking UI
JM-Player
259ed7d
Handle image asset tool events
HouYunFei+1: Codex
c4ecb7a
Co-Authored-By: Codex <noreply@openai.com>
feat: add DDG channel numbering in registration logs
Fengsuid
73d7212
- Auto-assign DDG-1, DDG-2... labels to DDG providers
- Show channel label in mailbox creation logs and error messages
- Makes it easy to see which DDG account is being used or has hit limit
- Read proxy from mail_config and apply to curl_cffi session
- RegisterService injects top-level proxy into mail config
- Helps bypass DDG IP-based rate limiting when using
residential/rotating proxy
Production logs showed many calls failing with `ai review failed: 'choices'`.
The wrapper concatenates the entire conversation context (system prompt + all
messages + base64-encoded attached images) into one string and forwards it
verbatim to the AI review service. Claude Code CLI requests routinely exceed
any reasonable token budget (over 1MB with attached images). The review
service rejected oversized payloads with `{"error": ...}` lacking the
`choices` key, and the wrapper's `response.json()["choices"][0]...` crashed
with KeyError that surfaced to clients as a 502.
Changes:
- Strip data:...;base64,... URIs to "[image]" before sending. The review
model is text-only and cannot analyze image bytes anyway; in observed
failures the base64 blocks were 100% of the payload bloat.
- Cap text at 100K chars (aligned to the upstream review service's max
context). When truncation is needed, keep equal head/tail halves so both
the system prompt and the most recent user message survive.
-…
fix: resolve image generation 429 cascade returning 502 to clients
xbang
3ae55b5
Concurrent /v1/images/edits and /v1/images/generations requests were returning
502 Bad Gateway to clients even though images were successfully generated on
the user's ChatGPT account (quota consumed). Three layered bugs caused every
image request to fail:
Bug A (root cause) - stream parser dropped file_ids
update_conversation_state gated file_id extraction on is_image_tool_event
which requires the full {author.role: tool, metadata.async_task_type:
image_gen} structure. ChatGPT delivers asset_pointer via subsequent patch
events that lack those fields, so file_ids were extracted by regex but
silently discarded. Every image request was forced into the polling
fallback path, which then hammered /backend-api/conversation/{id} and
tripped upstream rate limits.
Fix: open the gate when state.tool_invoked is True (set by an earlier
server_ste_metadata event) OR when the event is itself a patch event whose
payload references asset_pointer / file-service://. The patch-event-…
Add complete Codex account export
STA1N156
cb1d19f
fix: raise clear error message on image poll timeout
Fengsuid
f5971d0
- Add ImagePollTimeoutError with actionable message including
current timeout value and config fix instructions
- In stream_image_outputs_with_pool, don't mark account as
failed on timeout (timeout is not an account issue)
- The error now clearly says "ChatGPT 生图超时(已等待 X 秒)"
instead of the generic "image generation failed"
fix: improve error message when image generation returns no data
Fengsuid
90fd59c
- Replace generic "image task returned no image data" with actionable
message about checking account pool quota and rate-limit status
- Add fallback error text when all accounts silently fail to generate
fix: make cf_inbox_jwt required, add DDG usage guide in register UI
Fengsuid
a4f38c8
- Remove dynamic CF inbox creation fallback (doesn't work with DDG forwarding)
- Mark DDG Token and CF Inbox JWT as required fields
- Add step-by-step usage guide in the provider config panel
feat: add DDG email provider with CF relay for registration
Fengsuid
9502498
- Add DDGMailProvider: creates @duck.com aliases via DuckDuckGo API,
uses Cloudflare temp email inbox to receive forwarded verification codes
- Fix frontend register-card.tsx to show ddg_mail type in provider dropdown
- Fix field name mismatch: Python reads api_base (shared UI field) instead of
cf_api_base to match what the web panel stores
- Add raw email To: header parsing to filter recipient in shared CF inbox
(prevents reading OTP codes meant for other aliases)
- Use fresh login session in _login_and_exchange_tokens to avoid
"invalid_state" 409 error after registration
- Add global DDG alias deduplication: auto-switch to next provider when
DDG daily alias limit is reached