Setting Up MiniMax-M3 in Prime Agent
If you're trying to use the MiniMax M3 model with Prime Agent and getting cryptic errors like ` No API provider registered for api: anthropic ` or ` Model not found: minimax/MiniMax-M3 ` , this guide walks you through the fix. ## The Problem Prime Agent's ` models.json ` configuration file has a few gotchas that aren't obvious from the documentation. After a few rounds of debugging, here are the three things that need to be correct: 1. The ** ` api ` field ** must be one of the values Prime Agent actually recognizes ( ` anthropic-messages ` , ` openai-completions ` , ` openai-responses ` ). 2. The ** ` baseUrl` ** must match the API protocol you're using. 3. The ** provider name ** in ` models.json ` must match the one referenced in ` settings.json ` . Get any of these wrong and you get a frustrating error that doesn't immediately point to the cause. ## Understanding MiniMax's API [ MiniMax ]( https://platform.minimax.io ) exposes two API...