yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::AgentKnowledgePanel Class Reference

Panel for viewing/editing learned knowledge patterns. More...

#include <agent_knowledge_panel.h>

Classes

struct  Callbacks
 

Public Member Functions

 AgentKnowledgePanel ()=default
 
void Draw (AgentUIContext *context, cli::agent::LearnedKnowledgeService *knowledge_service, const Callbacks &callbacks, ToastManager *toast_manager)
 

Private Member Functions

void RenderPreferencesTab (cli::agent::LearnedKnowledgeService *service, const Callbacks &callbacks, ToastManager *toast_manager)
 
void RenderPatternsTab (cli::agent::LearnedKnowledgeService *service)
 
void RenderProjectsTab (cli::agent::LearnedKnowledgeService *service)
 
void RenderMemoriesTab (cli::agent::LearnedKnowledgeService *service)
 
void RenderStatsSection (cli::agent::LearnedKnowledgeService *service)
 

Private Attributes

char new_pref_key_ [128] = {}
 
char new_pref_value_ [256] = {}
 
char memory_search_ [256] = {}
 
int selected_tab_ = 0
 

Detailed Description

Panel for viewing/editing learned knowledge patterns.

Provides UI for:

  • User preferences management
  • ROM pattern viewing
  • Project context management
  • Conversation memory browsing

Definition at line 32 of file agent_knowledge_panel.h.

Constructor & Destructor Documentation

◆ AgentKnowledgePanel()

yaze::editor::AgentKnowledgePanel::AgentKnowledgePanel ( )
default

Member Function Documentation

◆ Draw()

◆ RenderPreferencesTab()

void yaze::editor::AgentKnowledgePanel::RenderPreferencesTab ( cli::agent::LearnedKnowledgeService * service,
const Callbacks & callbacks,
ToastManager * toast_manager )
private

◆ RenderPatternsTab()

void yaze::editor::AgentKnowledgePanel::RenderPatternsTab ( cli::agent::LearnedKnowledgeService * service)
private

Definition at line 200 of file agent_knowledge_panel.cc.

References ICON_MD_PATTERN, and yaze::cli::agent::LearnedKnowledgeService::QueryPatterns().

Referenced by Draw().

Here is the call graph for this function:

◆ RenderProjectsTab()

void yaze::editor::AgentKnowledgePanel::RenderProjectsTab ( cli::agent::LearnedKnowledgeService * service)
private

Definition at line 244 of file agent_knowledge_panel.cc.

References yaze::cli::agent::LearnedKnowledgeService::GetAllProjects(), and ICON_MD_FOLDER.

Referenced by Draw().

Here is the call graph for this function:

◆ RenderMemoriesTab()

void yaze::editor::AgentKnowledgePanel::RenderMemoriesTab ( cli::agent::LearnedKnowledgeService * service)
private

◆ RenderStatsSection()

void yaze::editor::AgentKnowledgePanel::RenderStatsSection ( cli::agent::LearnedKnowledgeService * service)
private

Definition at line 104 of file agent_knowledge_panel.cc.

References yaze::cli::agent::LearnedKnowledgeService::GetStats(), and yaze::editor::AgentUI::GetTheme().

Referenced by Draw().

Here is the call graph for this function:

Member Data Documentation

◆ new_pref_key_

char yaze::editor::AgentKnowledgePanel::new_pref_key_[128] = {}
private

Definition at line 59 of file agent_knowledge_panel.h.

Referenced by RenderPreferencesTab().

◆ new_pref_value_

char yaze::editor::AgentKnowledgePanel::new_pref_value_[256] = {}
private

Definition at line 60 of file agent_knowledge_panel.h.

Referenced by RenderPreferencesTab().

◆ memory_search_

char yaze::editor::AgentKnowledgePanel::memory_search_[256] = {}
private

Definition at line 61 of file agent_knowledge_panel.h.

Referenced by RenderMemoriesTab().

◆ selected_tab_

int yaze::editor::AgentKnowledgePanel::selected_tab_ = 0
private

Definition at line 62 of file agent_knowledge_panel.h.

Referenced by Draw().


The documentation for this class was generated from the following files: