Expand description
Centralized default AI model constants for all providers.
This module provides a single source of truth for default model identifiers
across OpenAI, Anthropic, Grok, Gemini, and Ollama providers. These constants
are used as default values in AppConfig structs (e.g. serde defaults).
§Model Selection Precedence
The system uses the following precedence for model selection:
- User configuration (from
~/.gestura/config.yaml) - API discovery (dynamic model lists from provider APIs)
There are no static fallback lists — if the API is unreachable or no API key is configured, the model list is empty and the UI communicates this to the user.
Constants§
- DEFAULT_
ANTHROPIC_ MODEL - Default Anthropic model for agent/completion tasks.
- DEFAULT_
GEMINI_ BASE_ URL - Default Gemini API base URL (Google AI Studio / Generative Language API).
- DEFAULT_
GEMINI_ MODEL - Default Gemini model for agent/completion tasks.
- DEFAULT_
GROK_ MODEL - Default Grok model for agent/completion tasks.
- DEFAULT_
OLLAMA_ BASE_ URL - Default Ollama base URL for local inference.
- DEFAULT_
OLLAMA_ MODEL - Default Ollama model for local inference.
- DEFAULT_
OPENAI_ MODEL - Default OpenAI model for agent/completion tasks.
- DEFAULT_
OPENAI_ STT_ MODEL - Default OpenAI model for speech-to-text transcription.