Module config

Module config 

Source
Expand description

Configuration management for SCUD projects.

Handles loading and saving of .scud/config.toml which stores:

  • LLM provider settings (provider, model, API endpoints)
  • Model tiers (smart/fast models for different task types)
  • Token limits and other provider-specific settings

§Example

use scud::config::Config;
use std::path::Path;

let config = Config::load(Path::new(".scud/config.toml"))
    .unwrap_or_default();
println!("Using provider: {}", config.llm.provider);

Structs§

Config
LLMConfig