mirror of https://github.com/aliasrobotics/cai.git
Add MiniMaxProvider with built-in support for MiniMax's OpenAI-compatible API (MiniMax-M2.7, MiniMax-M2.5, MiniMax-M2.5-highspeed models). Changes: - Add MiniMaxProvider class implementing ModelProvider interface - Add MiniMax model routing in OpenAIChatCompletionsModel for litellm - Export MiniMaxProvider from agents __init__.py - Add provider documentation (docs/providers/minimax.md) - Add usage example (examples/model_providers/minimax_example.py) - Add MiniMax to README provider list - Add 18 unit tests and 3 integration tests |
||
|---|---|---|
| .. | ||
| agents | ||
| cli | ||
| commands | ||
| core | ||
| integration | ||
| mcp | ||
| others | ||
| tools | ||
| tracing | ||
| voice | ||
| README.md | ||
| __init__.py | ||
| conftest.py | ||
| conftest_pricing.py | ||
| fake_model.py | ||
| helpers.py | ||
| test_cli_print_deduplication.py | ||
| test_compact_command.py | ||
| test_pricing.py | ||
| test_unified_pattern.py | ||
| testing_processor.py | ||
README.md
Tests
Before running any tests, make sure you have uv installed (and ideally run make sync after).
Running tests
make tests
Snapshots
We use inline-snapshots for some tests. If your code adds new snapshot tests or breaks existing ones, you can fix/create them. After fixing/creating snapshots, run make tests again to verify the tests pass.
Fixing snapshots
make snapshots-fix
Creating snapshots
make snapshots-update