Skip to content

Add MiniMax provider support - #33

Open
octo-patch wants to merge 1 commit into
HM2899:mainfrom
octo-patch:octo/20260731-provider-add-recvqgXBy9VsR3
Open

Add MiniMax provider support#33
octo-patch wants to merge 1 commit into
HM2899:mainfrom
octo-patch:octo/20260731-provider-add-recvqgXBy9VsR3

Conversation

@octo-patch

Copy link
Copy Markdown

Reason: Add MiniMax as a configurable upstream with regional endpoints and native request handling.

Changes

  • Add MiniMax-M3 and MiniMax-M2.7 catalog metadata, pricing, capabilities, and aliases.
  • Select global or China endpoints through environment configuration.
  • Forward chat completions and native messages with standard Bearer authentication and streamed usage handling.
  • Add focused configuration, catalog, adapter, and server tests.

Checks

  • test -z "$(gofmt -l cmd internal)"
  • go vet ./...
  • go test ./...
  • go test -race ./...
  • go build -o bin/grok2api ./cmd/grok2api
  • go build -o bin/grok2api-migrate ./cmd/grok2api-migrate
  • python3 -m json.tool contracts/env-manifest.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant