You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add MiniMax provider support with Anthropic-compatible API
- Add MiniMax provider supporting M2 model series
- Create AnthropicCompatibleProvider base class for reusability
- Support interleaved thinking, tool calling, and streaming
- Add comprehensive tests (15 tests, 100% coverage)
- Include usage examples and documentation
- Bump version to 0.20251121.0
- Total providers now: 22
Copy file name to clipboardExpand all lines: README.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,10 +48,10 @@
48
48
49
49
The library follows the OpenAI client API design pattern, making it familiar to developers already using OpenAI and enabling easy migration for existing applications. **Simply change your import statements and instantly gain access to hundreds of models** across dozens of providers while maintaining your existing code structure.
50
50
51
-
With support for 21 implemented providers (and more planned), OneLLM gives you access to approximately 300+ unique language models through a single, consistent interface - from the latest proprietary models to open-source alternatives, all accessible through familiar OpenAI-compatible patterns.
51
+
With support for 22 implemented providers (and more planned), OneLLM gives you access to approximately 300+ unique language models through a single, consistent interface - from the latest proprietary models to open-source alternatives, all accessible through familiar OpenAI-compatible patterns.
52
52
53
53
> [!NOTE]
54
-
> **Ready for Use**: OneLLM now supports 21 providers with 300+ models! From cloud APIs to local models, you can access them all through a single, unified interface. [Contributions are welcome](./CONTRIBUTING.md) to help add even more providers!
54
+
> **Ready for Use**: OneLLM now supports 22 providers with 300+ models! From cloud APIs to local models, you can access them all through a single, unified interface. [Contributions are welcome](./CONTRIBUTING.md) to help add even more providers!
55
55
56
56
---
57
57
@@ -124,9 +124,9 @@ For more detailed examples, check out the [examples directory](./examples).
124
124
125
125
## 🌐 Supported Providers
126
126
127
-
OneLLM currently supports **21 providers** with more on the way:
127
+
OneLLM currently supports **22 providers** with more on the way:
128
128
129
-
### Cloud API Providers (19)
129
+
### Cloud API Providers (20)
130
130
-**Anthropic** - Claude family of models
131
131
-**Anyscale** - Configurable AI platform
132
132
-**AWS Bedrock** - Access to multiple model families
@@ -146,6 +146,7 @@ OneLLM currently supports **21 providers** with more on the way:
146
146
-**Vercel AI Gateway** - Gateway to 100+ models from multiple providers
147
147
-**Vertex AI** - Google Cloud's enterprise Gemini
148
148
-**X.AI** - Grok models
149
+
-**MiniMax** - M2 model series with advanced reasoning
149
150
150
151
### Local Providers (2)
151
152
-**Ollama** - Run models locally with easy management
Copy file name to clipboardExpand all lines: examples/providers/README.md
+28-23Lines changed: 28 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# OneLLM Provider Examples
2
2
3
-
This directory contains comprehensive examples for all 21 providers supported by OneLLM. Each example demonstrates the unique features and capabilities of that provider.
3
+
This directory contains comprehensive examples for all 22 providers supported by OneLLM. Each example demonstrates the unique features and capabilities of that provider.
4
4
5
5
## 📚 Provider Examples
6
6
@@ -16,107 +16,112 @@ This directory contains comprehensive examples for all 21 providers supported by
16
16
- Multi-turn conversations, code generation
17
17
- Required: `ANTHROPIC_API_KEY`
18
18
19
-
3.**[Google AI Studio](google_example.py)** - Gemini models with multimodal support
19
+
3.**[MiniMax](minimax_example.py)** - M2 models with interleaved thinking
20
+
- Advanced reasoning, agentic capabilities
21
+
- Anthropic-compatible API
22
+
- Required: `MINMAX_API_KEY`
23
+
24
+
4.**[Google AI Studio](google_example.py)** - Gemini models with multimodal support
20
25
- Vision capabilities, long context
21
26
- JSON mode, safety settings
22
27
- Required: `GOOGLE_API_KEY`
23
28
24
-
4.**[Mistral](mistral_example.py)** - European AI with multilingual support
29
+
5.**[Mistral](mistral_example.py)** - European AI with multilingual support
25
30
- Multiple model sizes, function calling
26
31
- Code generation, multilingual capabilities
27
32
- Required: `MISTRAL_API_KEY`
28
33
29
-
5.**[Cohere](cohere_example.py)** - Enterprise NLP with RAG capabilities
34
+
6.**[Cohere](cohere_example.py)** - Enterprise NLP with RAG capabilities
0 commit comments