From f5d50ca349595111af9891206f3c337ecdb020b6 Mon Sep 17 00:00:00 2001 From: AI Christianson Date: Wed, 11 Dec 2024 16:38:30 -0500 Subject: [PATCH] ux --- ra_aid/prompts.py | 1 + ra_aid/tools/shell.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ra_aid/prompts.py b/ra_aid/prompts.py index bfba699..3dd2680 100644 --- a/ra_aid/prompts.py +++ b/ra_aid/prompts.py @@ -80,6 +80,7 @@ Single-Shot Task Detection 3. Call one_shot_completed() to immediately conclude the task Only use single-shot completion for truly straightforward tasks that don't require additional planning or extensive changes. + If the change is estimated to be less than 100 lines and less than 5 files, it is definitely a single-shot task. Thoroughness and Completeness diff --git a/ra_aid/tools/shell.py b/ra_aid/tools/shell.py index 180d644..de9ef2f 100644 --- a/ra_aid/tools/shell.py +++ b/ra_aid/tools/shell.py @@ -44,7 +44,9 @@ def run_shell_command(command: str) -> Dict[str, Union[str, int, bool]]: cowboy_mode = _global_memory.get('config', {}).get('cowboy_mode', False) if cowboy_mode: + console.print("") console.print(get_cowboy_message()) + console.print("") # Show just the command in a simple panel console.print(Panel(command, title="🐚 Shell", border_style="bright_yellow"))