mirror of
https://github.com/chenyme/grok2api.git
synced 2026-12-05 16:02:12 +00:00
- Fix an issue where WebSocket connections (e.g., for image generation) failed with "semaphore timeout" because proxy settings were not applied. - Root cause: WebSocketClient was fetching proxy config during module-level instantiation, which occurred before config.load() finished. - Modified WebSocketClient to dynamically resolve proxy settings at connection time. - Added debug logging for proxy resolution and connector types.