This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from anthropic import Anthropic | |
def handle_text_editor(tool_call): | |
"""Handle text editor commands for Claude""" | |
params = tool_call.input | |
command = params.get('command') | |
path = params.get('path') | |
try: |