Expand description
Configuration management for Magellan
Loads settings from ~/.config/magellan/config.toml
§Config File Format
[llm]
provider = "ollama" # ollama, openai, anthropic, custom
base_url = "http://localhost:11434"
model = "codellama"
api_key = "" # For cloud providers
[registry]
auto_scan = true
scan_roots = ["/home/feanor/Projects"]Structs§
- Config
- Root Magellan configuration
- LlmConfig
- LLM configuration
- Registry
Config - Registry configuration
Enums§
- LlmProvider
- LLM provider type
Functions§
- default_
config_ path - Get the default config path: ~/.config/magellan/config.toml
- load
- Load configuration from default location
- load_
from - Load configuration from a specific path
- save
- Save configuration to default location
- save_to
- Save configuration to a specific path