feat: add MiniMax CLI harness (chat + TTS)#189
Conversation
- Add MiniMax CLI harness with chat and TTS capabilities - Add MiniMax-M2.7 and MiniMax-M2.7-highspeed chat models via OpenAI-compatible API - Add TTS support with speech-2.8-hd and speech-2.8-turbo models (hex-encoded SSE stream) - Add MINIMAX_API_KEY environment variable support - Add 20 unit and integration tests (all passing) - Register in registry.json under category 'ai'
yuh-yang
left a comment
There was a problem hiding this comment.
The PR structure looks good to me, also the e2e test results. But was wondering if there are critical scenarios where such CLIs for calling another LLM API are important 🤔
|
@octo-patch Went through the diff. Re @yuh-yang's scope question — AnyGen sets precedent for API-wrapping harnesses, and the TTS feature adds real value beyond a simple API client. Fits fine. Blockers:
Should fix:
Fix 1-2, and this is ready to merge. |
|
Thanks for the MiniMax harness. Two fixes before merge: the REPL should use One test cleanup too: |
Summary
minimax/agent-harness/— a new CLI harness for the MiniMax AI platformMiniMax-M2.7,MiniMax-M2.7-highspeed)t2a_v2SSE streaming endpoint (models:speech-2.8-hd,speech-2.8-turbo), with hex-encoded audio decodingMINIMAX_API_KEYenvironment variable (shared for both chat and TTS)registry.jsonunder categoryai.gitignoreto trackminimax/agent-harness/API Reference
Test Results
Checklist
cli-anything-minimaxentry point registeredhttps://api.minimax.io/v1MiniMax-M2.7(default) andMiniMax-M2.7-highspeedspeech-2.8-hd(default) andspeech-2.8-turboMINIMAX_API_KEYsupported via env, config file, and--api-keyflag1.0(MiniMax requirement: must be in(0.0, 1.0])