This commit is contained in:
pavel 2026-02-10 20:33:04 +01:00
commit 643203b8a5
9 changed files with 822 additions and 44 deletions

View file

@ -21,11 +21,12 @@ impl Agent {
initial_message: String,
) -> Self {
let intro = format!(
"You are an autonomous agent. You have access to tools that can help
you achieve your goals. Use them wisely. Do not ask for clarification and use the
answer tool once you to give your final answer. current date is {}",
Utc::now().to_rfc3339()
);
"You are an autonomous agent. You have access to tools that can help
you achieve your goals. Use them wisely. The user is unable to respond to you
so do not ask for clarification and use the
answer tool once you to give your final answer. current date is {}",
Utc::now().to_rfc3339()
);
println!("initial_message: {}", intro);
let messages = vec![
Message {