LLM plugin for accessing MiniMax models via their API
Install this plugin in the same environment as LLM.
llm install llm-minimaxObtain an API key for MiniMax from their API platform site.
Set the API key using:
llm keys set minimax
# Paste key hereRun MiniMax M2 like this:
llm -m m2 "Tell me about yourself"To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd llm-minimax
python -m venv venv
source venv/bin/activateNow install the dependencies and test dependencies:
python -m pip install -e '.[test]'To run the tests:
python -m pytest