pennymax

Results comments of pennymax

I have the same problem on MacOS + ClaudeCode(Opus 4.6). Although it finally fixed itself and wrote the file successfully after several retries, but it took time and cost tokens.

I'm experiencing the exact same issue on the iOS app

looking forward to it

总结一下当前的有效方法: 1. ~/.cli-proxy-api/ 找认证文件,把websockets改成true 2. ~/.codex/config.toml,添加: ```python [model_providers.OpenAI] requires_openai_auth = true [features] responses_websockets_v2 = true ``` 3. 重启cliproxyapi服务

https://github.com/router-for-me/CLIProxyAPI/releases/tag/v7.2.62 新版已经解决这个问题了,更新后可以正常使用wss了,bingo!

twm = ThreadedWebsocketManager(api_key=api_key, api_secret=api_secret, tld='com') # start twm.start() def handle_socket_symbol_ticker(msg): price = msg['c'] # start socket for single symbol ticker price twm.start_symbol_ticker_socket(callback=handle_socket_symbol_ticker, symbol='BTCUSDT')