From fd3ebeebed09526a43c4628c23c157b3b0f5bdf7 Mon Sep 17 00:00:00 2001 From: Yingjie He Date: Wed, 26 Feb 2025 08:54:57 -0800 Subject: [PATCH] fix: update approve prompt (#1383) --- crates/goose/src/agents/truncate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/goose/src/agents/truncate.rs b/crates/goose/src/agents/truncate.rs index eda6b045..7661f516 100644 --- a/crates/goose/src/agents/truncate.rs +++ b/crates/goose/src/agents/truncate.rs @@ -261,7 +261,7 @@ impl Agent for TruncateAgent { request.id.clone(), tool_call.name.clone(), tool_call.arguments.clone(), - Some("Goose would like to call the tool: {}\nAllow? (y/n): ".to_string()), + Some("Goose would like to call the above tool. Allow? (y/n):".to_string()), ); yield confirmation;