Bug Description
MiniMax-M2.7 configured as primary provider. Simple chat messages work fine. Any message requiring tool use fails every time with connection error after ~20 seconds. Direct curl to MiniMax works perfectly.
Steps to Reproduce
Configure MiniMax as primary (provider=minimax, base_url=https://api.minimax.io/anthropic)
Start Telegram gateway
Send simple "hi" — works
Send any task requiring tools e.g. "set up a cron job"
Fails with connection error after 3 retries
Expected Behavior
Task completes using MiniMax
Actual Behavior
API call failed after 3 retries. Connection error | provider=minimax model=MiniMax-M2.7 msgs=9 tokens=~7,543
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
v0.8.0
Relevant Logs / Traceback
2026-04-09 12:13:23 ERROR root: API call failed after 3 retries. Connection error. | provider=minimax model=MiniMax-M2.7 msgs=9 tokens=~7,543
2026-04-09 09:13:46 INFO anthropic._base_client: Retrying request to /v1/messages in 0.442807 seconds
2026-04-09 09:13:46 INFO anthropic._base_client: Retrying request to /v1/messages in 0.948297 seconds
Root Cause Analysis (optional)
No response
Proposed Fix (optional)
No response
Are you willing to submit a PR for this?
Bug Description
MiniMax-M2.7 configured as primary provider. Simple chat messages work fine. Any message requiring tool use fails every time with connection error after ~20 seconds. Direct curl to MiniMax works perfectly.
Steps to Reproduce
Configure MiniMax as primary (provider=minimax, base_url=https://api.minimax.io/anthropic)
Start Telegram gateway
Send simple "hi" — works
Send any task requiring tools e.g. "set up a cron job"
Fails with connection error after 3 retries
Expected Behavior
Task completes using MiniMax
Actual Behavior
API call failed after 3 retries. Connection error | provider=minimax model=MiniMax-M2.7 msgs=9 tokens=~7,543
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
v0.8.0
Relevant Logs / Traceback
Root Cause Analysis (optional)
No response
Proposed Fix (optional)
No response
Are you willing to submit a PR for this?