mavis_coder
Generate text with MiniMax-M3 for coding drafts, explanations, and file summaries. Returns model output plus token usage and latency.
Instructions
Call MiniMax-M3 (OpenAI-compatible) for a single text generation. Use for drafting code, writing explanations, summarizing files, or any text-in/text-out task. Returns the model content plus token usage and latency. For multi-step agentic work with tool calling, see Sprint B-2 (not yet implemented).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model id. Defaults to MiniMax-M3. | |
| prompt | Yes | The task or question to send to the model. | |
| system | No | Optional system prompt that sets behavior/context. | |
| max_tokens | No | Max output tokens. Defaults to 4096. | |
| temperature | No | Sampling temperature. Defaults to 0.2 (deterministic). |