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§
Sourcefn config_path(&self) -> &str
fn config_path(&self) -> &str
The config file path relative to home directory (e.g., “.multi_code/config.yaml”)
Sourcefn default_system_prompt(&self) -> &str
fn default_system_prompt(&self) -> &str
The default system prompt for this agent
Sourcefn log_prefix(&self) -> &str
fn log_prefix(&self) -> &str
The log file prefix for this agent (e.g., “multi_code”, “europa”)