Enhance agent chat functionality with ROM context support and structured message rendering

This commit is contained in:
scawful
2025-10-03 14:46:22 -04:00
parent dc6040551e
commit 3715ae98eb
11 changed files with 341 additions and 29 deletions

View File

@@ -933,6 +933,10 @@ absl::Status EditorManager::Update() {
}
#ifdef YAZE_WITH_GRPC
if (show_agent_chat_widget_) {
Rom* rom_context =
(current_rom_ != nullptr && current_rom_->is_loaded()) ? current_rom_
: nullptr;
agent_chat_widget_.SetRomContext(rom_context);
agent_chat_widget_.Draw();
}
#endif