bug: MiniMax API endpoint is incorrect and authentication fails #43

Closed
opened 2026-04-10 04:53:53 +02:00 by shoko · 0 comments
Owner

Problem

The current implementation uses as the MiniMax API endpoint, but it should be .

Additionally, the API authentication is failing with 401 errors even with a valid MiniMax API key.

Current Code

File:

Error

The error shows it's being routed to OpenAI's servers instead of MiniMax.

Documentation

MiniMax API Reference: https://platform.minimax.io/docs/api-reference/text-anthropic-api

Expected Fix

  1. Change API endpoint from to
  2. Ensure proper authentication format per MiniMax documentation

Tasks

  • Update base_url to use
  • Check authentication format matches MiniMax requirements
  • Test with actual MiniMax API key
## Problem The current implementation uses as the MiniMax API endpoint, but it should be . Additionally, the API authentication is failing with 401 errors even with a valid MiniMax API key. ## Current Code File: ## Error The error shows it's being routed to OpenAI's servers instead of MiniMax. ## Documentation MiniMax API Reference: https://platform.minimax.io/docs/api-reference/text-anthropic-api ## Expected Fix 1. Change API endpoint from to 2. Ensure proper authentication format per MiniMax documentation ## Tasks - [ ] Update base_url to use - [ ] Check authentication format matches MiniMax requirements - [ ] Test with actual MiniMax API key
shoko closed this issue 2026-04-10 05:10:17 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shoko/randebu#43