From b717384420ed5dbfa66d9ab075e41adf36c73c94 Mon Sep 17 00:00:00 2001 From: "Amar Sood (tekacs)" Date: Sat, 12 Apr 2025 10:36:30 -0400 Subject: [PATCH] Put tool calls on multiple lines when a multi-line tool use is used --- aider/coders/navigator_prompts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aider/coders/navigator_prompts.py b/aider/coders/navigator_prompts.py index 8ec4f2741..e4466e05a 100644 --- a/aider/coders/navigator_prompts.py +++ b/aider/coders/navigator_prompts.py @@ -458,7 +458,7 @@ Here are summaries of some files present in this repo: ## Tool Call Format - Tool calls MUST be at the end of your message, after a '---' separator -- If emitting multiple tool calls (e.g., 3 or more), place each call on a new line for clarity. +- If emitting 3 or more tool calls, OR if any tool call spans multiple lines, place each call on a new line for clarity. - You are encouraged to use tools for editing where possible, falling back to SEARCH/REPLACE when that doesn't work well. ## SEARCH/REPLACE blocks @@ -508,4 +508,4 @@ Let me explore the codebase more strategically this time: - I'll use tool calls to automatically continue exploration until I have enough information I'll start exploring again with improved search strategies to find exactly what we need. -""" +""" \ No newline at end of file