diff options
Diffstat (limited to 'client.py')
| -rw-r--r-- | client.py | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -37,5 +37,30 @@ while True: if user_input.lower() in {"exit", "quit"}: break + match user_input: + case "/end": + agent.end_task() + print("[task ended]") + continue + + case "/task": + print(f"\n[memory: {agent.working_memory}]\n") + continue + + case "/pause": + agent.pause_task() + print("[task paused]") + continue + + case "/resume": + agent.resume_task() + print("[task resumed]") + continue + + case "/complete": + agent.complete_task() + print("[task completed]") + continue + answer = agent.chat(user_input) print(f"Agent: {answer}") |
