Skip to content

Commit

Permalink
fix: Add back read file tool to whole edit mode
Browse files Browse the repository at this point in the history
  • Loading branch information
timonv committed Jan 29, 2025
1 parent 0b2bd18 commit 2c9a605
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/agent/v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ pub fn available_tools(
match repository.config().agent_edit_mode {
AgentEditMode::Whole => {
tools.push(tools::write_file());
tools.push(tools::read_file());
}
AgentEditMode::Line => {
tools.push(tools::read_file_with_line_numbers());
Expand Down

0 comments on commit 2c9a605

Please sign in to comment.