humanus.cpp/main.cpp

19 lines
448 B
C++
Raw Normal View History

2025-03-16 17:17:01 +08:00
#include "agent/manus.h"
#include "logger.h"
using namespace humanus;
int main() {
Manus agent = Manus();
while (true) {
std::string prompt;
std::cout << "Enter your prompt (or 'exit' to quit): ";
std::getline(std::cin, prompt);
if (prompt == "exit") {
logger->info("Goodbye!");
break;
}
logger->info("Processing your request...");
agent.run(prompt);
}
}