This commit is contained in:
parent
4960b1275e
commit
f5d50ca349
|
|
@ -80,6 +80,7 @@ Single-Shot Task Detection
|
||||||
3. Call one_shot_completed() to immediately conclude the task
|
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.
|
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
|
Thoroughness and Completeness
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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)
|
cowboy_mode = _global_memory.get('config', {}).get('cowboy_mode', False)
|
||||||
|
|
||||||
if cowboy_mode:
|
if cowboy_mode:
|
||||||
|
console.print("")
|
||||||
console.print(get_cowboy_message())
|
console.print(get_cowboy_message())
|
||||||
|
console.print("")
|
||||||
|
|
||||||
# Show just the command in a simple panel
|
# Show just the command in a simple panel
|
||||||
console.print(Panel(command, title="🐚 Shell", border_style="bright_yellow"))
|
console.print(Panel(command, title="🐚 Shell", border_style="bright_yellow"))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue