docs: add MiniMax as an OpenAI-compatible cloud LLM provider option#661
Open
octo-patch wants to merge 2 commits intohuggingface:mainfrom
Open
docs: add MiniMax as an OpenAI-compatible cloud LLM provider option#661octo-patch wants to merge 2 commits intohuggingface:mainfrom
octo-patch wants to merge 2 commits intohuggingface:mainfrom
Conversation
Add documentation showing how to use MiniMax models with smolagents via OpenAIServerModel. MiniMax provides an OpenAI-compatible API at https://api.minimax.io/v1 with models offering up to 204K context length. Changes: - Add Step 6 in onboarding guide showing OpenAIServerModel usage with MiniMax as an example cloud provider - Mention MiniMax compatibility in the OpenAIServerModel description - Note OpenAI-compatible provider support in vision agents and Pokemon agent sections
- Update model_id from MiniMax-M2.5 to MiniMax-M2.7 in onboarding guide - MiniMax-M2.7 is the latest flagship model with enhanced reasoning and coding
Author
|
Updated the model to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds documentation showing how to use MiniMax models with
smolagentsviaOpenAIServerModel. MiniMax provides an OpenAI-compatible API with models offering up to 204K context length, making it a practical alternative for students who want to try different cloud LLM providers.Changes
Onboarding guide (
units/en/unit0/onboarding.mdx): Added a new Step 6 demonstrating how to use cloud LLM providers withOpenAIServerModel, using MiniMax as an example. This complements the existing Step 5 (Ollama local models) by showing a cloud-based alternative.Why use smolagents (
units/en/unit2/smolagents/why_use_smolagents.mdx): Added a note to theOpenAIServerModeldescription mentioning MiniMax as a compatible third-party provider.Vision agents (
units/en/unit2/smolagents/vision_agents.mdx): Added a note thatOpenAIServerModelworks with any OpenAI-compatible provider.Pokemon agent (
units/en/bonus-unit3/building_your_pokemon_agent.mdx): Mentioned that any OpenAI-compatible provider (such as MiniMax) works with the template pattern.Why MiniMax?
https://api.minimax.io/v1)OpenAIServerModelpattern that students can replicate with any compatible providerTest plan
smolagentsAPI (OpenAIServerModelclass)