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

Cached model list + UI helpers. More...

#include <agent_state.h>

Public Attributes

std::vector< cli::ModelInfoavailable_models
 
std::vector< std::string > model_names
 
std::vector< std::string > local_model_names
 
absl::Time last_refresh = absl::InfinitePast()
 
bool loading = false
 
bool auto_refresh_requested = false
 
std::string last_provider
 
std::string last_openai_base
 
std::string last_ollama_host
 
char search_buffer [128] = {}
 
char new_preset_name [128] = {}
 
int active_preset_index = -1
 

Detailed Description

Cached model list + UI helpers.

Definition at line 179 of file agent_state.h.

Member Data Documentation

◆ available_models

std::vector<cli::ModelInfo> yaze::editor::ModelCache::available_models

Definition at line 180 of file agent_state.h.

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

◆ model_names

std::vector<std::string> yaze::editor::ModelCache::model_names

Definition at line 181 of file agent_state.h.

◆ local_model_names

std::vector<std::string> yaze::editor::ModelCache::local_model_names

Definition at line 182 of file agent_state.h.

◆ last_refresh

absl::Time yaze::editor::ModelCache::last_refresh = absl::InfinitePast()

Definition at line 183 of file agent_state.h.

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

◆ loading

bool yaze::editor::ModelCache::loading = false

Definition at line 184 of file agent_state.h.

◆ auto_refresh_requested

bool yaze::editor::ModelCache::auto_refresh_requested = false

◆ last_provider

std::string yaze::editor::ModelCache::last_provider

Definition at line 186 of file agent_state.h.

◆ last_openai_base

std::string yaze::editor::ModelCache::last_openai_base

Definition at line 187 of file agent_state.h.

◆ last_ollama_host

std::string yaze::editor::ModelCache::last_ollama_host

Definition at line 188 of file agent_state.h.

◆ search_buffer

char yaze::editor::ModelCache::search_buffer[128] = {}

Definition at line 189 of file agent_state.h.

◆ new_preset_name

char yaze::editor::ModelCache::new_preset_name[128] = {}

Definition at line 190 of file agent_state.h.

◆ active_preset_index

int yaze::editor::ModelCache::active_preset_index = -1

Definition at line 191 of file agent_state.h.


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