Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@hlbbbbbbb
Copy link

Summary

MiniMax has updated their API endpoint and format. The previous configuration was broken:

  • Old endpoint: https://api.minimax.io/anthropic (no longer works)
  • New endpoint: https://api.minimax.chat/v1
  • Old API format: anthropic-messages
  • New API format: openai-completions

Changes

  • Update MINIMAX_API_BASE_URL to the correct endpoint
  • Change API format from anthropic-messages to openai-completions
  • Remove minimax from isAnthropicApi() check in transcript-policy.ts

Testing

Tested locally with MiniMax API key - confirmed that API calls now return results correctly.

@moltbot-barnacle moltbot-barnacle bot added the agents Agent runtime and tooling label Jan 28, 2026
@thewilloftheshadow thewilloftheshadow self-assigned this Jan 28, 2026
YangHuang2280 and others added 2 commits January 27, 2026 19:46
MiniMax has updated their API. The previous configuration used an
incorrect endpoint (api.minimax.io/anthropic) with anthropic-messages
format, which no longer works.

Changes:
- Update MINIMAX_API_BASE_URL to https://api.minimax.chat/v1
- Change API format from anthropic-messages to openai-completions
- Remove minimax from isAnthropicApi check in transcript-policy

This fixes the issue where MiniMax API calls return no results.
@thewilloftheshadow thewilloftheshadow merged commit eb50314 into openclaw:main Jan 28, 2026
33 of 43 checks passed
@thewilloftheshadow
Copy link
Member

Landed via temp rebase onto main.

  • Related tests: pnpm vitest run --config vitest.unit.config.ts src/agents/models-config.providers.ollama.test.ts
  • Land commit: c955b36
  • Merge commit: eb50314

Thanks @hlbbbbbbb!

bonald pushed a commit to bonald/moltbot that referenced this pull request Jan 28, 2026
The MiniMax provider config was updated to use api.minimax.chat
instead of api.minimax.io in PR openclaw#3064, but the test expectation
was not updated.

πŸ€– Generated with Claude Code
obviyus pushed a commit that referenced this pull request Jan 28, 2026
The MiniMax provider config was updated to use api.minimax.chat
instead of api.minimax.io in PR #3064, but the test expectation
was not updated.

πŸ€– Generated with Claude Code
obviyus pushed a commit that referenced this pull request Jan 28, 2026
The MiniMax provider config was updated to use api.minimax.chat
instead of api.minimax.io in PR #3064, but the test expectation
was not updated.

πŸ€– Generated with Claude Code
danbao pushed a commit to danbao/openclaw that referenced this pull request Jan 28, 2026
The MiniMax provider config was updated to use api.minimax.chat
instead of api.minimax.io in PR openclaw#3064, but the test expectation
was not updated.

πŸ€– Generated with Claude Code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants