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

我自己使用的时候,它会用sudo dnf install安装缺少的包。在终端运行quick_start.py是没问题的,可以在终端页面输入(管理员)密码。但是那个前端页面没做好,遇到这种操作直接卡在那边了,终端里面日志多出了条密码输入的提示符但是用户无法继续操作,应该能够识别并且弹出图形化的密码输入窗口。

HuangDuoYan avatar Jul 24 '25 01:07 HuangDuoYan