You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/engineering/editing.mdx
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -153,6 +153,7 @@ This strategy will replace the oldest tool results' content with a placeholder t
153
153
**Parameters:**
154
154
-`keep_recent_n_tool_results` (optional, default: 3): Number of most recent tool results to keep with original content
155
155
-`tool_result_placeholder` (optional, default: "Done"): Custom text to replace old tool results with
156
+
-`keep_tools` (optional): List of tool names that should never have their results removed. Tool results from these tools are always kept regardless of `keep_recent_n_tool_results`
156
157
157
158
**Example Output:**
158
159
@@ -237,6 +238,7 @@ This is particularly useful when you have many tool calls in your session histor
237
238
238
239
**Parameters:**
239
240
-`keep_recent_n_tool_calls` (optional, default: 3): Number of most recent tool calls to keep with full parameters
241
+
-`keep_tools` (optional): List of tool names that should never have their parameters removed. Tool calls for these tools always keep their full parameters regardless of `keep_recent_n_tool_calls`
240
242
241
243
**How it works:**
242
244
- Keeps the most recent N tool calls with their original parameters
0 commit comments