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

Agent configuration state. More...

#include <agent_state.h>

Collaboration diagram for yaze::editor::AgentConfigState:

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< ModelPresetmodel_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"
 

Detailed Description

Agent configuration state.

Definition at line 197 of file agent_state.h.

Member Data Documentation

◆ ai_provider

std::string yaze::editor::AgentConfigState::ai_provider = "mock"

◆ ai_model

std::string yaze::editor::AgentConfigState::ai_model

◆ ollama_host

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().

◆ gemini_api_key

std::string yaze::editor::AgentConfigState::gemini_api_key

Definition at line 201 of file agent_state.h.

Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext().

◆ anthropic_api_key

std::string yaze::editor::AgentConfigState::anthropic_api_key

Definition at line 202 of file agent_state.h.

Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext().

◆ openai_api_key

std::string yaze::editor::AgentConfigState::openai_api_key

Definition at line 203 of file agent_state.h.

Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext().

◆ openai_base_url

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().

◆ host_id

std::string yaze::editor::AgentConfigState::host_id

Definition at line 205 of file agent_state.h.

Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext().

◆ verbose

bool yaze::editor::AgentConfigState::verbose = false

◆ show_reasoning

bool yaze::editor::AgentConfigState::show_reasoning = true

◆ max_tool_iterations

int yaze::editor::AgentConfigState::max_tool_iterations = 4

◆ max_retry_attempts

int yaze::editor::AgentConfigState::max_retry_attempts = 3

◆ temperature

float yaze::editor::AgentConfigState::temperature = 0.25f

◆ top_p

float yaze::editor::AgentConfigState::top_p = 0.95f

◆ max_output_tokens

int yaze::editor::AgentConfigState::max_output_tokens = 2048

◆ stream_responses

bool yaze::editor::AgentConfigState::stream_responses = false

◆ favorite_models

std::vector<std::string> yaze::editor::AgentConfigState::favorite_models

Definition at line 214 of file agent_state.h.

Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext().

◆ model_chain

std::vector<std::string> yaze::editor::AgentConfigState::model_chain

Definition at line 215 of file agent_state.h.

Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext().

◆ chain_mode

◆ model_presets

std::vector<ModelPreset> yaze::editor::AgentConfigState::model_presets

Definition at line 217 of file agent_state.h.

Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext().

◆ tool_config

◆ provider_buffer

char yaze::editor::AgentConfigState::provider_buffer[32] = "mock"

Definition at line 221 of file agent_state.h.

◆ model_buffer

char yaze::editor::AgentConfigState::model_buffer[128] = {}

Definition at line 222 of file agent_state.h.

◆ ollama_host_buffer

char yaze::editor::AgentConfigState::ollama_host_buffer[256] = "http://localhost:11434"

Definition at line 223 of file agent_state.h.

◆ gemini_key_buffer

char yaze::editor::AgentConfigState::gemini_key_buffer[256] = {}

Definition at line 224 of file agent_state.h.

◆ anthropic_key_buffer

char yaze::editor::AgentConfigState::anthropic_key_buffer[256] = {}

Definition at line 225 of file agent_state.h.

◆ openai_key_buffer

char yaze::editor::AgentConfigState::openai_key_buffer[256] = {}

Definition at line 226 of file agent_state.h.

◆ openai_base_url_buffer

char yaze::editor::AgentConfigState::openai_base_url_buffer[256] = "https://api.openai.com"

Definition at line 227 of file agent_state.h.


The documentation for this struct was generated from the following file: