Skip to content

feat: add minimax provider#131

Merged
lizhengfeng101 merged 3 commits into
alibaba:mainfrom
guqihao-7:feat/add-minimax-provider
Jun 15, 2026
Merged

feat: add minimax provider#131
lizhengfeng101 merged 3 commits into
alibaba:mainfrom
guqihao-7:feat/add-minimax-provider

Conversation

@guqihao-7

Copy link
Copy Markdown
Contributor

Summary

  • Add MiniMax as a built-in LLM provider
  • Configure MiniMax through the OpenAI-compatible API endpoint: https://api.minimaxi.com/v1
  • Use MINIMAX_API_KEY as the API key environment variable
  • Add MiniMax model options, including MiniMax-M3, MiniMax-M2.x, and M2-her

OCR llm test:
image

OCR config provider:
image

@github-actions

Copy link
Copy Markdown

OpenCodeReview: No comments generated. Looks good to me.

Comment thread internal/llm/providers.go Outdated
Comment on lines +105 to +108
"MiniMax-M2.1",
"MiniMax-M2.1-highspeed",
"MiniMax-M2",
"M2-her",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这几个模型去掉吧,官方应该也不推荐这些老的模型了

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

Comment thread internal/llm/providers.go Outdated
Co-authored-by: lizhengfeng <lizhengfeng.lzf@alibaba-inc.com>
@CLAassistant

CLAassistant commented Jun 15, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@lizhengfeng101 lizhengfeng101 merged commit 17c5edc into alibaba:main Jun 15, 2026
1 check passed
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.

3 participants