[Feature]: Add Interactive Mode for Multi-Turn Conversations in OS-Copilot
hccngu opened this issue · comments
Is your feature request related to a problem? Please describe.
Currently, OS-Copilot does not support multi-turn conversations.
Describe the solution you'd like
We hope OS-Copilot can add an interactive mode.
In this mode, users can continuously input tasks in the terminal until they manually terminate the mode.
After a task is completed, users can continue to input the next task. OS-Copilot should be able to utilize the interaction history when executing the next task.
When there are few historical tasks, this seems easy, but when there is a lot of historical information, it may involve retrieving the most relevant information from the history to the current task to prevent input length from becoming too long.
Describe alternatives you've considered
Perhaps we could try the interactive mode on light_friday first. It does not involve API or tools operations, making it quicker to implement.
Additional context
You can refer to the .interactive() mode in Open-Interpreter.