Skip to content

Commit 8eee6ea

Browse files
committed
fix: use original command instead of interpreted command for execution
This change ensures that the original user input is used when executing commands, preventing potential misinterpretation or loss of information.
1 parent 6b5483e commit 8eee6ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wellcode_cli/commands/chat_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def chat_interface():
6767
console.print(f"[dim]Interpreting as: {interpreted_command}[/dim]")
6868

6969
if interpreted_command:
70-
execute_command(interpreted_command)
70+
execute_command(command)
7171
else:
7272
console.print("[yellow]I couldn't understand that request. Try rephrasing or type 'help' for suggestions.[/]")
7373

0 commit comments

Comments
 (0)