From c022e7d553ae277c930ebf6dae0da56739ef98b9 Mon Sep 17 00:00:00 2001 From: Debanjum Date: Sun, 9 Nov 2025 09:35:38 -0800 Subject: [PATCH] Upgrade Anthropic Operator editor version --- src/khoj/processor/operator/operator_agent_anthropic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/khoj/processor/operator/operator_agent_anthropic.py b/src/khoj/processor/operator/operator_agent_anthropic.py index 4d93b956..0da01ee9 100644 --- a/src/khoj/processor/operator/operator_agent_anthropic.py +++ b/src/khoj/processor/operator/operator_agent_anthropic.py @@ -535,7 +535,7 @@ class AnthropicOperatorAgent(OperatorAgent): if tool_type == "computer": return {"name": "computer", "type": "computer_20250124"} elif tool_type == "editor": - return {"name": "str_replace_based_edit_tool", "type": "text_editor_20250429"} + return {"name": "str_replace_based_edit_tool", "type": "text_editor_20250728"} elif tool_type == "terminal": return {"name": "bash", "type": "bash_20250124"} raise ValueError(f"Unsupported tool type for model '{self.vision_model.name}': {tool_type}")