Class MinimaxAnthropicProvider

All Implemented Interfaces:
PropertyChangeSource, Rebindable

public class MinimaxAnthropicProvider extends AnthropicProvider
A provider implementation for the MiniMax API leveraging their Anthropic-compatible endpoints.

MiniMax offers high-performance models (like M2.7, M2.5) and exposes an Anthropic-compatible API interface. This class extends AnthropicProvider to reuse the robust Anthropic payload generation and SSE parsing, simply overriding the base URL and API key hints.

Author:
anahata
  • Constructor Details

    • MinimaxAnthropicProvider

      public MinimaxAnthropicProvider()
      Constructs a new MiniMax Anthropic-compatible provider.

      Configures the base Anthropic provider to point to MiniMax's endpoint (https://api.minimax.io/anthropic/v1) and sets the appropriate documentation URI for API key acquisition.

  • Method Details

    • getApiKeyHint

      public String getApiKeyHint()
      Gets a template or hint string to display when the API keys file is empty.

      Implementation details: Provides the MiniMax-specific key format including the sk-api- prefix and suggested backup key labeling.

      Overrides:
      getApiKeyHint in class AnthropicProvider
      Returns:
      A multi-line string containing configuration instructions and examples.