Refactor websocket dial into its own package with extensible options
Refactor websocket dial into its own package with extensible options: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). Right now the websocket client lives in pkg/conn alongside the generic Conn interface and RetryableError, and the dial entrypoint looks like: A couple of…
The task
Right now the websocket client lives in pkg/conn alongside the generic Conn interface and RetryableError, and the dial entrypoint looks like: A couple of things make this awkward: 1. The websocket-specific code (dialer, retryable status codes, message-type checks, the…
Part of XiaomiMiMo/MiMo-V2.6-RL-oss.