Skip to content

feat(minimax): add LLM support with MiniMax-M3 model#1722

Open
sfsfco wants to merge 4 commits into
livekit:mainfrom
sfsfco:feature/extend-minimax
Open

feat(minimax): add LLM support with MiniMax-M3 model#1722
sfsfco wants to merge 4 commits into
livekit:mainfrom
sfsfco:feature/extend-minimax

Conversation

@sfsfco
Copy link
Copy Markdown

@sfsfco sfsfco commented Jun 5, 2026

Description

Add LLM support to the MiniMax plugin, enabling MiniMax-M3 model for chat completions in LiveKit Agents.

Changes Made

  • Added src/llm.ts with LLM and LLMStream classes extending the framework's LLM abstractions.
  • Updated src/models.ts with ChatModels type and MiniMax-M3 model.
  • Added ChatModels type including MiniMax-M3, M2.7, M2.5, M2.1.
  • Updated src/index.ts to export the new LLM module.
  • Added axios dependency for HTTP requests.

Pre-Review Checklist

  • Build passes: All builds (lint, typecheck, tests) pass locally
  • AI-generated code reviewed: Removed unnecessary comments and ensured code quality
  • Changes explained: All changes are properly documented and justified above
  • Scope appropriate: All changes relate to the PR title, or explanations provided for why they're included

Testing

  • Automated tests added/updated (if applicable)
  • All tests pass

Additional Notes

  • MiniMax-M3 is the default model, with M2.7, M2.7-highspeed, M2.5, M2.1 also supported.
  • Requires MINIMAX_API_KEY environment variable.
  • Based on the existing TTS implementation patterns in this plugin.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jun 5, 2026

⚠️ No Changeset found

Latest commit: 020a097

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

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