Add command interface and status indicator.
This commit is contained in:
parent
5cb6647513
commit
7b9525ef95
7 changed files with 358 additions and 22 deletions
|
|
@ -65,6 +65,9 @@ impl<P: ModelProvider> Orchestrator<P> {
|
|||
while let Some(action) = self.action_rx.recv().await {
|
||||
match action {
|
||||
UserAction::Quit => break,
|
||||
UserAction::ClearHistory => {
|
||||
self.history.clear();
|
||||
}
|
||||
|
||||
UserAction::SendMessage(text) => {
|
||||
// Push the user message before snapshotting, so providers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue