AgentConfig

Trait AgentConfig 

Source
pub trait AgentConfig {
    // Required methods
    fn config_path(&self) -> &str;
    fn default_system_prompt(&self) -> &str;
    fn log_prefix(&self) -> &str;
    fn name(&self) -> &str;
}
Expand description

Trait for agent-specific configuration.

Implement this trait to provide custom config paths and system prompts for your agent.

Required Methods§

Source

fn config_path(&self) -> &str

The config file path relative to home directory (e.g., “.multi_code/config.yaml”)

Source

fn default_system_prompt(&self) -> &str

The default system prompt for this agent

Source

fn log_prefix(&self) -> &str

The log file prefix for this agent (e.g., “multi_code”, “europa”)

Source

fn name(&self) -> &str

Agent name for display and logging

Implementors§