Commit Graph

7 Commits

Author SHA1 Message Date
YoVinchen b8e2573730 fix(proxy): unify proxy requirement check to backend and add OpenClaw support 2026-02-15 14:07:46 +08:00
YoVinchen c1048ebcbe refactor(proxy): remove Codex Chat Completions API format support
Codex CLI only uses OpenAI Responses API. Remove unused Chat Completions
routes, handler, parser config, URL builder branches, frontend API format
selector, and stale i18n keys. Claude openai_chat support is preserved.
2026-02-12 23:00:46 +08:00
YoVinchen f0e09da83b fix(proxy): passthrough client query params instead of forcing beta=true 2026-02-12 14:14:50 +08:00
YoVinchen b3188c242a fix(proxy): only append beta=true query param for /v1/messages endpoint 2026-02-12 13:50:59 +08:00
YoVinchen 246ec65789 fix(proxy): unify preview/runtime URL rules and proxy checks
- align Codex preview URL building with runtime /v1 normalization

- align Claude full-url detection with runtime adapter patterns

- reflect Claude ?beta=true in proxy preview and avoid query-only mismatch false positives

- enforce openai_chat proxy requirement even when baseUrl is missing

- wire Codex api format selector through ProviderForm and persist meta/config

- fix EndpointField stale async preview race on clear

- add pending feedback for ProxyToggle pre-disable checks

- deduplicate provider baseUrl extraction into a shared util
2026-02-11 23:37:38 +08:00
YoVinchen 75d78da920 fix(proxy): preserve URL query/fragment and improve error handling
Extract shared URL utilities to handle query strings and fragments correctly.
Add race condition fix for URL preview, improve proxy toggle error feedback,
and support Codex chat format proxy endpoint.
2026-02-05 16:48:44 +08:00
YoVinchen b12d12790b refactor(proxy): unify URL building logic in backend
Move URL preview and proxy requirement checks from frontend to a centralized
Rust module. This ensures consistency between the endpoint field preview and
actual proxy behavior.
2026-02-05 14:30:15 +08:00