Skip to content

[Bug]: Codex CLI integration with MiniMax profile stuck in infinite Reconnecting loop #16

@crash-zwt

Description

@crash-zwt

Summary

When using DeepScientist with Codex CLI 0.57.0 and MiniMax provider (m27 profile), the WebUI keeps showing "Reconnecting... 1/10 ... 10/10" infinitely and cannot work properly.

Steps to reproduce

  1. Install Codex CLI 0.57.0 (npm install -g @openai/codex@0.57.0)
  2. Configure MiniMax provider in ~/.codex/config.toml with profile m27
  3. Start DeepScientist with: ds --codex-profile m27 --no-daemon
  4. Open WebUI http://127.0.0.1:20999
  5. The Copilot panel shows "Reconnecting... 1/10 ... 10/10" in a loop forever

Expected behavior

WebUI should connect to Codex CLI successfully and work normally with MiniMax model.

Actual behavior

WebUI Copilot is stuck in an infinite reconnecting loop (Reconnecting... 1/10 to 10/10 repeated).
No chat response, no task execution, UI cannot be used.
Image
Image
Image

Environment

  • DeepScientist version: 1.5.15

  • Browser: Chrome

  • OS: macOS

  • Codex CLI: 0.57.0

  • Model Provider: MiniMax (m27 profile)

  • Configuration: model = MiniMax-M2.7, requires_openai_auth = false

Logs, screenshots, or stack traces

Infinite Reconnecting... 1/10, 2/10, ..., 10/10 loop in WebUI Copilot panel.
Codex CLI works fine in terminal (codex --profile m27), but DeepScientist WebUI cannot connect.

Suspected scope

Codex CLI integration layer, WebSocket connection handler, MiniMax provider adapter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions