Configure a model provider¶
heal works with any OpenAI-compatible endpoint or a pydantic-ai provider string.
Set the defaults once; every agent role (triage, locator, vision, rca)
inherits them and can be overridden individually. Always confirm with
heal doctor — capability is probed, not assumed.
Per-role overrides
Use a cheap fast model for triage and a stronger one for RCA, for example:
HEAL_TRIAGE_MODEL=openai/gpt-4.1-nano and HEAL_RCA_MODEL=openai/gpt-4.1.
See the configuration reference.
MiniMax's quirks (forced tool_choice) are handled by a built-in profile —
heal resolves it to prompted output automatically.
Verify the endpoint¶
doctor probes tool calling, JSON-schema output, prompted output, and vision,
then prints the resolved capabilities and the output mode it will use. If a
backend can only do prompted JSON, heal still heals — verification lives in
output validators, which work in every mode. See
Capability-tiered models for why this matters
and how small models compare.