mirror of
https://gh-proxy.org/https://github.com/klinsmaya/CLIProxyAPI.git
synced 2026-11-08 09:26:52 +08:00
- Introduced `xaiChatBaseURL` helper to normalize base URLs for non-media chat requests. - Added `applyXAIChatHeaders` to handle CLI chat-proxy-specific headers. - Updated logic to differentiate between default, chat-proxy, and custom gateway base URLs. - Extended test coverage to validate behavior of headers and base URL handling across scenarios. Closes: #4182