Agent configuration state. More...
#include <agent_state.h>

Public Attributes | |
| std::string | ai_provider = "mock" |
| std::string | ai_model |
| std::string | ollama_host = "http://localhost:11434" |
| std::string | gemini_api_key |
| std::string | anthropic_api_key |
| std::string | openai_api_key |
| std::string | openai_base_url = "https://api.openai.com" |
| std::string | host_id |
| bool | verbose = false |
| bool | show_reasoning = true |
| int | max_tool_iterations = 4 |
| int | max_retry_attempts = 3 |
| float | temperature = 0.25f |
| float | top_p = 0.95f |
| int | max_output_tokens = 2048 |
| bool | stream_responses = false |
| std::vector< std::string > | favorite_models |
| std::vector< std::string > | model_chain |
| ChainMode | chain_mode = ChainMode::kDisabled |
| std::vector< ModelPreset > | model_presets |
| ToolConfig | tool_config |
| char | provider_buffer [32] = "mock" |
| char | model_buffer [128] = {} |
| char | ollama_host_buffer [256] = "http://localhost:11434" |
| char | gemini_key_buffer [256] = {} |
| char | anthropic_key_buffer [256] = {} |
| char | openai_key_buffer [256] = {} |
| char | openai_base_url_buffer [256] = "https://api.openai.com" |
Agent configuration state.
Definition at line 197 of file agent_state.h.
| std::string yaze::editor::AgentConfigState::ai_provider = "mock" |
Definition at line 198 of file agent_state.h.
Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext(), yaze::editor::AgentEditor::ApplyModelPreset(), and yaze::editor::AgentEditor::SyncContextFromProfile().
| std::string yaze::editor::AgentConfigState::ai_model |
Definition at line 199 of file agent_state.h.
Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext(), and yaze::editor::AgentEditor::RefreshModelCache().
| std::string yaze::editor::AgentConfigState::ollama_host = "http://localhost:11434" |
Definition at line 200 of file agent_state.h.
Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext().
| std::string yaze::editor::AgentConfigState::gemini_api_key |
Definition at line 201 of file agent_state.h.
Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext().
| std::string yaze::editor::AgentConfigState::anthropic_api_key |
Definition at line 202 of file agent_state.h.
Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext().
| std::string yaze::editor::AgentConfigState::openai_api_key |
Definition at line 203 of file agent_state.h.
Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext().
| std::string yaze::editor::AgentConfigState::openai_base_url = "https://api.openai.com" |
Definition at line 204 of file agent_state.h.
Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext().
| std::string yaze::editor::AgentConfigState::host_id |
Definition at line 205 of file agent_state.h.
Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext().
| bool yaze::editor::AgentConfigState::verbose = false |
Definition at line 206 of file agent_state.h.
Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext(), and yaze::editor::AgentConfigPanel::RenderParameterControls().
| bool yaze::editor::AgentConfigState::show_reasoning = true |
Definition at line 207 of file agent_state.h.
Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext(), and yaze::editor::AgentConfigPanel::RenderParameterControls().
| int yaze::editor::AgentConfigState::max_tool_iterations = 4 |
Definition at line 208 of file agent_state.h.
Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext(), and yaze::editor::AgentConfigPanel::RenderParameterControls().
| int yaze::editor::AgentConfigState::max_retry_attempts = 3 |
Definition at line 209 of file agent_state.h.
Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext(), and yaze::editor::AgentConfigPanel::RenderParameterControls().
| float yaze::editor::AgentConfigState::temperature = 0.25f |
Definition at line 210 of file agent_state.h.
Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext(), and yaze::editor::AgentConfigPanel::RenderParameterControls().
| float yaze::editor::AgentConfigState::top_p = 0.95f |
Definition at line 211 of file agent_state.h.
Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext(), and yaze::editor::AgentConfigPanel::RenderParameterControls().
| int yaze::editor::AgentConfigState::max_output_tokens = 2048 |
Definition at line 212 of file agent_state.h.
Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext(), and yaze::editor::AgentConfigPanel::RenderParameterControls().
| bool yaze::editor::AgentConfigState::stream_responses = false |
Definition at line 213 of file agent_state.h.
Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext(), and yaze::editor::AgentConfigPanel::RenderParameterControls().
| std::vector<std::string> yaze::editor::AgentConfigState::favorite_models |
Definition at line 214 of file agent_state.h.
Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext().
| std::vector<std::string> yaze::editor::AgentConfigState::model_chain |
Definition at line 215 of file agent_state.h.
Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext().
| ChainMode yaze::editor::AgentConfigState::chain_mode = ChainMode::kDisabled |
Definition at line 216 of file agent_state.h.
Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext(), and yaze::editor::AgentConfigPanel::RenderChainModeControls().
| std::vector<ModelPreset> yaze::editor::AgentConfigState::model_presets |
Definition at line 217 of file agent_state.h.
Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext().
| ToolConfig yaze::editor::AgentConfigState::tool_config |
Definition at line 218 of file agent_state.h.
Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext(), yaze::editor::AgentEditor::ApplyToolPreferencesFromContext(), and yaze::editor::AgentConfigPanel::RenderToolingControls().
| char yaze::editor::AgentConfigState::provider_buffer[32] = "mock" |
Definition at line 221 of file agent_state.h.
| char yaze::editor::AgentConfigState::model_buffer[128] = {} |
Definition at line 222 of file agent_state.h.
| char yaze::editor::AgentConfigState::ollama_host_buffer[256] = "http://localhost:11434" |
Definition at line 223 of file agent_state.h.
| char yaze::editor::AgentConfigState::gemini_key_buffer[256] = {} |
Definition at line 224 of file agent_state.h.
| char yaze::editor::AgentConfigState::anthropic_key_buffer[256] = {} |
Definition at line 225 of file agent_state.h.
| char yaze::editor::AgentConfigState::openai_key_buffer[256] = {} |
Definition at line 226 of file agent_state.h.
| char yaze::editor::AgentConfigState::openai_base_url_buffer[256] = "https://api.openai.com" |
Definition at line 227 of file agent_state.h.