Put tool calls on multiple lines when a multi-line tool use is used

This commit is contained in:
Amar Sood (tekacs) 2025-04-12 10:36:30 -04:00
parent 4b2202cd26
commit b717384420

View file

@ -458,7 +458,7 @@ Here are summaries of some files present in this repo:
## Tool Call Format ## Tool Call Format
- Tool calls MUST be at the end of your message, after a '---' separator - 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. - You are encouraged to use tools for editing where possible, falling back to SEARCH/REPLACE when that doesn't work well.
## SEARCH/REPLACE blocks ## 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 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. I'll start exploring again with improved search strategies to find exactly what we need.
""" """