mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-10-05 23:31:05 +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