abu-agent 0.2.0

Agent development library
Documentation
1
2
3
4
5
6
7
#[abu_macros::tool(
    struct_name = Terminator,
    description = "Answer the user's question, and terminate the conversation.",
)]
fn terminate(#[arg(description="Answer to the user's question.")] answer: &str) -> String {
    answer.to_string()
}