Skip to content

v0.8.0 MiniMax gateway connection error on any message requiring tool use #6510

@stuclock13hk-ctrl

Description

@stuclock13hk-ctrl

Bug Description

Running v0.8.0 on macOS. MiniMax-M2.7 is configured as primary provider via Anthropic endpoint. Short conversational messages work fine via Telegram gateway. Any message that triggers tool use fails with 'Connection error' after ~18 seconds every time. Direct curl to the MiniMax Anthropic endpoint works perfectly and returns 200.

Steps to Reproduce

Configure MiniMax as primary provider (provider=minimax, base_url=https://api.minimax.io/anthropic)
Start gateway with Telegram
Send a short message — works fine
Send any message requiring tool use (e.g. "set up a cron job")
Gateway retries 3 times then fails with Connection error

Expected Behavior

Hermy completes the task using MiniMax

Actual Behavior

API call failed after 3 retries. Connection error | provider=minimax model=MiniMax-M2.7 msgs=5 tokens=~7,132

Affected Component

Gateway (Telegram/Discord/Slack/WhatsApp)

Messaging Platform (if gateway-related)

Telegram

Operating System

macOS 15.2

Python Version

3.11.9

Hermes Version

0.8.0

Relevant Logs / Traceback

API call failed after 3 retries. Connection error. | provider=minimax model=MiniMax-M2.7 msgs=5 tokens=~7,132

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions