- Applied clang-format to fix formatting violations in TUI and other source files - Updated CMakeLists.txt to exclude src/lib/* from format targets to prevent third-party library violations - Fixes clang-format violations in chat_tui.cc, tui.cc, and unified_layout.cc - All source files now pass format-check target 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
31 lines
821 B
C++
31 lines
821 B
C++
#include <iostream>
|
|
|
|
#include "app/rom.h"
|
|
#include "cli/service/agent/conversational_agent_service.h"
|
|
#include "cli/service/ai/service_factory.h"
|
|
|
|
using namespace yaze;
|
|
using namespace yaze::cli;
|
|
using namespace yaze::cli::agent;
|
|
|
|
int main() {
|
|
std::cout << "Test 1: Creating AI Service...\n";
|
|
auto ai_service = CreateAIService();
|
|
std::cout << "✅ AI Service created\n";
|
|
|
|
std::cout << "Test 2: Creating Conversational Agent Service...\n";
|
|
ConversationalAgentService service;
|
|
std::cout << "✅ Conversational Agent Service created\n";
|
|
|
|
std::cout << "Test 3: Creating ROM...\n";
|
|
Rom rom;
|
|
std::cout << "✅ ROM created\n";
|
|
|
|
std::cout << "Test 4: Setting ROM context...\n";
|
|
service.SetRomContext(&rom);
|
|
std::cout << "✅ ROM context set\n";
|
|
|
|
std::cout << "\n🎉 All tests passed!\n";
|
|
return 0;
|
|
}
|