Module config

Module config 

Source
Expand description

Configuration management for the application.

This module handles loading, parsing, and providing access to the application’s configuration settings.

Structs§

AiConfig
Main configuration for all AI-related features
AiModelsConfig
Configuration for the models to be used
AiPromptsConfig
Configuration for the prompts
AnthropicModelConfig
Configuration for connecting to the Anthropic API
Config
Main configuration struct for the application
GeminiModelConfig
Configuration for connecting to the Google Gemini API
GistConfig
Configuration settings for the default gist
KeyBinding
Represents a single logical key binding that can be triggered by one or more physical KeyEvents.
KeyBindingsConfig
Configuration for the key bindings used in the Terminal User Interface (TUI).
LogsConfig
Configuration settings for application logging
OllamaModelConfig
Configuration for connecting to a local or remote Ollama instance
OpenAiModelConfig
Configuration for connecting to an OpenAI or a compatible API
SearchCommandTuning
Configures the ranking parameters for command search
SearchCommandsTextAutoTuning
Tunable weights for the different matching strategies within the ‘auto’ search mode
SearchCommandsTextTuning
Defines weights and points for the text relevance (FTS) score component
SearchConfig
Configuration for the search command
SearchPathTuning
Configures the path-aware scoring model
SearchTuning
Holds all tunable parameters for the command and variable search ranking algorithms
SearchUsageTuning
Configures the total usage scoring model
SearchVariableContextTuning
Defines points for the context relevance score component of variable values
SearchVariableTuning
Configures the ranking parameters for variable values ranking
Theme
TUI theme configuration.

Enums§

AiModelConfig
Represents the configuration for a specific AI model, distinguished by the provider
KeyBindingAction
Represents the distinct actions within the application that can be configured with specific key bindings