Skip to main content

run_chat

Function run_chat 

Source
pub fn run_chat(
    config: AgentConfig,
    session_key: String,
    single_message: Option<String>,
) -> Result<()>
Expand description

Top-level entry-point called from main() for the chat subcommand. Caller should build config from env + CLI overrides (e.g. AgentConfig::from_env() then set api_base, skill_dirs, etc.).