Models & providers
Pickers, sliders, meters, and config cards for AI provider/model setup.
AIProviderSelector
Dropdown to pick an AI provider (Anthropic, OpenAI, Google, Mistral, Ollama).
ModelPicker
Models grouped by provider with capability icons, context window, and pricing.
APIKeyInput
Masked API key input with show/hide toggle and live validation status.
TemperatureSlider
Sampling temperature slider with deterministic ↔ creative endpoints.
TopPSlider
Nucleus sampling slider for top-p configuration.
MaxTokensInput
Numeric input that knows the model output cap and warns on overflow.
SystemPromptEditor
Auto-resizing system prompt editor with variable detection and token estimate.
ContextWindowMeter
Bar chart of tokens consumed vs. context window.
CostMeter
Live USD cost meter that subscribes to the AI event bus.
ProviderHealthBadge
Operational / degraded / down pill with optional latency.
AIConfigCard
Composed configuration card combining provider, model, sampling, and prompt.