Skip to content

Implement MiniMax chat completions adapter#93

Open
Photon101 wants to merge 1 commit into
profullstack:masterfrom
Photon101:photon101/ai-minimax-chat-completions
Open

Implement MiniMax chat completions adapter#93
Photon101 wants to merge 1 commit into
profullstack:masterfrom
Photon101:photon101/ai-minimax-chat-completions

Conversation

@Photon101
Copy link
Copy Markdown
Contributor

Summary

  • replace the MiniMax stub with a real OpenAI-compatible chat completions adapter
  • use the documented MiniMax OpenAI-compatible base URL and current M2 model IDs
  • support dry-run behavior, standard generation options, opts.extra passthrough for MiniMax options such as reasoning_split, token usage mapping, and concise HTTP error excerpts
  • add focused tests for dry-run behavior, request payload/auth, token usage mapping, and error handling

References

Validation

  • corepack pnpm exec vitest run packages/ai/minimax/src/index.test.ts
  • corepack pnpm exec tsc -p packages/ai/minimax/tsconfig.json --noEmit
  • git diff --check

@ralyodio ralyodio self-assigned this May 13, 2026
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.

2 participants