#include <agent_configuration_panel.h>
Classes | |
| struct | Callbacks |
Public Member Functions | |
| AgentConfigPanel ()=default | |
| void | Draw (AgentUIContext *context, const Callbacks &callbacks, ToastManager *toast_manager) |
Private Member Functions | |
| void | RenderModelConfigControls (AgentUIContext *context, const Callbacks &callbacks, ToastManager *toast_manager) |
| void | RenderModelDeck (AgentUIContext *context, const Callbacks &callbacks, ToastManager *toast_manager) |
| void | RenderParameterControls (AgentConfigState &config) |
| void | RenderToolingControls (AgentConfigState &config, const Callbacks &callbacks) |
| void | RenderChainModeControls (AgentConfigState &config) |
Definition at line 14 of file agent_configuration_panel.h.
|
default |
| void yaze::editor::AgentConfigPanel::Draw | ( | AgentUIContext * | context, |
| const Callbacks & | callbacks, | ||
| ToastManager * | toast_manager ) |
Definition at line 78 of file agent_configuration_panel.cc.
References yaze::editor::AgentUIContext::agent_config(), yaze::editor::AgentUI::GetTheme(), ICON_MD_CLOUD_SYNC, ICON_MD_CONSTRUCTION, ICON_MD_SETTINGS, ICON_MD_SMART_TOY, ICON_MD_TUNE, RenderModelConfigControls(), RenderModelDeck(), RenderParameterControls(), yaze::editor::AgentUI::RenderSectionHeader(), RenderToolingControls(), and yaze::editor::AgentConfigPanel::Callbacks::update_config.
|
private |
Definition at line 120 of file agent_configuration_panel.cc.
References yaze::editor::AgentUIContext::agent_config(), yaze::editor::ModelCache::auto_refresh_requested, yaze::editor::AgentUI::GetTheme(), yaze::editor::AgentUI::HorizontalSpacing(), yaze::editor::ModelPreset::host, ICON_MD_AUTO_AWESOME, ICON_MD_CLEAR, ICON_MD_CLOSE, ICON_MD_CLOUD, ICON_MD_COMPUTER, ICON_MD_FOLDER, ICON_MD_NOTE_ADD, ICON_MD_PSYCHOLOGY, ICON_MD_PUBLIC, ICON_MD_REFRESH, ICON_MD_SETTINGS, ICON_MD_SMART_TOY, ICON_MD_STAR, ICON_MD_STAR_BORDER, ICON_MD_SYNC, yaze::editor::kInfo, yaze::editor::kSuccess, yaze::editor::kWarning, yaze::editor::ModelPreset::last_used, yaze::editor::ModelPreset::model, yaze::editor::AgentUIContext::model_cache(), yaze::editor::ModelPreset::name, yaze::editor::ModelPreset::provider, yaze::editor::AgentConfigPanel::Callbacks::refresh_models, RenderChainModeControls(), yaze::editor::ToastManager::Show(), and yaze::editor::ModelPreset::tags.
Referenced by Draw().
|
private |
Definition at line 769 of file agent_configuration_panel.cc.
References yaze::editor::AgentUIContext::agent_config(), yaze::editor::AgentConfigPanel::Callbacks::apply_preset, yaze::editor::AgentUI::GetTheme(), yaze::editor::ModelPreset::host, ICON_MD_DELETE, ICON_MD_NOTE_ADD, ICON_MD_PLAY_ARROW, ICON_MD_STAR, ICON_MD_STAR_BORDER, yaze::editor::kSuccess, yaze::editor::ModelPreset::last_used, yaze::editor::ModelPreset::model, yaze::editor::AgentUIContext::model_cache(), yaze::editor::ModelPreset::name, yaze::editor::ModelPreset::provider, yaze::editor::ToastManager::Show(), and yaze::editor::ModelPreset::tags.
Referenced by Draw().

|
private |
Definition at line 902 of file agent_configuration_panel.cc.
References yaze::editor::AgentConfigState::max_output_tokens, yaze::editor::AgentConfigState::max_retry_attempts, yaze::editor::AgentConfigState::max_tool_iterations, yaze::editor::AgentConfigState::show_reasoning, yaze::editor::AgentConfigState::stream_responses, yaze::editor::AgentConfigState::temperature, yaze::editor::AgentConfigState::top_p, and yaze::editor::AgentConfigState::verbose.
Referenced by Draw().
|
private |
Definition at line 916 of file agent_configuration_panel.cc.
References yaze::editor::AgentConfigPanel::Callbacks::apply_tool_preferences, yaze::editor::ToolConfig::dialogue, yaze::editor::ToolConfig::dungeon, yaze::editor::ToolConfig::emulator, yaze::editor::ToolConfig::gui, yaze::editor::ToolConfig::memory_inspector, yaze::editor::ToolConfig::messages, yaze::editor::ToolConfig::music, yaze::editor::ToolConfig::overworld, yaze::editor::ToolConfig::resources, yaze::editor::ToolConfig::sprite, and yaze::editor::AgentConfigState::tool_config.
Referenced by Draw().
|
private |
Definition at line 955 of file agent_configuration_panel.cc.
References yaze::editor::AgentConfigState::chain_mode, yaze::editor::kConsensus, yaze::editor::kDisabled, and yaze::editor::kRoundRobin.
Referenced by RenderModelConfigControls().