Skip to content

Commit 5e145e2

Browse files
committed
Revert DEFAULT_APPROVE to just fs_read
- Keep resource in NATIVE_TOOLS but not in DEFAULT_APPROVE - Agent config in ~/.aws/amazonq/cli-agents needs to be updated manually - Users can add 'resource' to their agent's allowed_tools list
1 parent 69e86e8 commit 5e145e2

File tree

1 file changed

+1
-1
lines changed
  • crates/chat-cli/src/cli/chat/tools

1 file changed

+1
-1
lines changed

crates/chat-cli/src/cli/chat/tools/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ use crate::cli::agent::{
5353
use crate::cli::chat::line_tracker::FileLineTracker;
5454
use crate::os::Os;
5555

56-
pub const DEFAULT_APPROVE: [&str; 2] = ["fs_read", "resource"];
56+
pub const DEFAULT_APPROVE: [&str; 1] = ["fs_read"];
5757
pub const NATIVE_TOOLS: [&str; 7] = [
5858
"fs_read",
5959
"fs_write",

0 commit comments

Comments
 (0)