FRIDAY icon indicating copy to clipboard operation
FRIDAY copied to clipboard

[Feature]: Add Human-in-the-Loop Functionality to OS-Copilot

Open hccngu opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

Currently, OS-Copilot does not support human-in-the-loop interactions, which are necessary for confirming potentially dangerous operations and for entering user information or passwords.

Describe the solution you'd like

We hope OS-Copilot can incorporate human-in-the-loop functionality.

This would involve prompting the user for confirmation (e.g., entering "Yes") before executing potentially dangerous commands. For tasks that require user input, such as passwords or other sensitive information, the system should prompt the user to enter the necessary details in the terminal, ensuring the program continues to run smoothly without abrupt termination.

Additionally, the prompt could be adapted to ask for user preferences or additional information in certain situations to better complete user-specified tasks.

Describe alternatives you've considered

An alternative could be implementing a simple confirmation prompt for dangerous operations and an input prompt for sensitive information, as seen in many command-line tools. It would be more convenient to add this functionality to light_friday first.

Additional context

None.

hccngu avatar May 14 '24 09:05 hccngu