vibe.llm_providers.mistral

Mistral LLM provider integration.

MistralProvider

Lightweight wrapper around OpenAIProvider for Mistral's Chat Completions API.

Mistral's API is OpenAI-compatible, so we simply reuse the OpenAI provider with a different base URL and force the Chat Completions flow.

get_capabilities

get_capabilities() -> ProviderCapabilities

Mistral's ChatCompletions compatibility layer does not stream tool arguments.

get_usage_stats

get_usage_stats() -> UsageStats | None

Return usage statistics from the last API call.