diff --git a/ra_aid/__main__.py b/ra_aid/__main__.py index 9a8a850..316c428 100644 --- a/ra_aid/__main__.py +++ b/ra_aid/__main__.py @@ -308,7 +308,8 @@ def main(): status = Text() status.append("🤖 ") status.append(f"{args.provider}/{args.model}") - status.append(f" @ T{args.temperature or 'N/A'}") + if args.temperature is not None: + status.append(f" @ T{args.temperature}") if expert_enabled: status.append(" | 🤔 ") diff --git a/ra_aid/tool_configs.py b/ra_aid/tool_configs.py index 181a09e..1fc7a9e 100644 --- a/ra_aid/tool_configs.py +++ b/ra_aid/tool_configs.py @@ -72,7 +72,8 @@ def get_read_only_tools( # Define constant tool groups READ_ONLY_TOOLS = get_read_only_tools() -MODIFICATION_TOOLS = [run_programming_task] +# MODIFICATION_TOOLS = [run_programming_task, put_complete_file_contents] +MODIFICATION_TOOLS = [run_programming_task] # having put_complete_file_contents causes trouble :( COMMON_TOOLS = get_read_only_tools() EXPERT_TOOLS = [emit_expert_context, ask_expert] RESEARCH_TOOLS = [ diff --git a/ra_aid/tools/write_file.py b/ra_aid/tools/write_file.py index 9fb40f6..58b183b 100644 --- a/ra_aid/tools/write_file.py +++ b/ra_aid/tools/write_file.py @@ -18,6 +18,8 @@ def put_complete_file_contents( This tool is specifically for writing the entire contents of a file at once, not for appending or partial writes. + If you need to do anything other than write the complete contents use the run_programming_task tool instead. + Args: filepath: (Required) Path to the file to write. Must be provided. complete_file_contents: Complete string content to write to the file. Defaults to