Add MiniMax as an alternative OpenAI-compatible provider#474
Add MiniMax as an alternative OpenAI-compatible provider#474octo-patch wants to merge 5 commits intomicrosoft:mainfrom
Conversation
|
👋 Thanks for contributing @octo-patch! We will review the pull request and get back to you soon. |
|
@octo-patch please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
1 similar comment
|
@octo-patch please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
Summary
OpenAIChatClienthotel_booking_workflow_sample.pyto support automatic provider selection based on environment variables (MiniMax, GitHub Models, or OpenAI)Changes
.env.example: AddMINIMAX_API_KEY,MINIMAX_BASE_URL, andMINIMAX_MODEL_IDvariables00-course-setup/README.md: Add setup instructions for using MiniMax as an alternative provider14-microsoft-agent-framework/README.md: Add MiniMax provider example in the agent creation sectionhotel_booking_workflow_sample.py: Implement provider selection logic that auto-detects MiniMax, GitHub Models, or OpenAI based on available environment variablesREADME.md: Mention MiniMax as a supported alternative providerWhy MiniMax?
The Microsoft Agent Framework is designed to be provider-agnostic (as noted in Lesson 14's README). MiniMax's OpenAI-compatible API makes integration seamless — no additional SDK or dependencies required. This gives learners another option for running the course examples, especially useful for those who may not have Azure or GitHub Models access.
Test Plan
MINIMAX_API_KEYis set