disable put_complete_file_contents; improve prompts; improve status panel output

This commit is contained in:
AI Christianson 2025-02-12 16:20:24 -05:00
parent 905ed2c8fc
commit a169ed8517
3 changed files with 6 additions and 2 deletions

View File

@ -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(" | 🤔 ")

View File

@ -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 = [

View File

@ -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