Functions | |
| template<size_t N> | |
| void | CopyStringToBuffer (const std::string &src, char(&dest)[N]) |
| std::optional< std::string > | LoadKeychainValue (const std::string &key) |
| std::string | ResolveHostApiKey (const UserSettings::Preferences *prefs, const UserSettings::Preferences::AiHost &host) |
| void | ApplyHostPresetToProfile (AgentEditor::BotProfile *profile, const UserSettings::Preferences::AiHost &host, const UserSettings::Preferences *prefs) |
| void yaze::editor::internal::CopyStringToBuffer | ( | const std::string & | src, |
| char(&) | dest[N] ) |
Definition at line 24 of file agent_editor_internal.h.
Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext(), yaze::editor::AgentEditor::ApplyModelPreset(), yaze::editor::AgentEditor::RefreshModelCache(), yaze::editor::AgentEditor::SyncContextFromProfile(), and yaze::editor::AgentEditor::SyncProfileUiState().
|
inline |
Definition at line 29 of file agent_editor_internal.h.
Referenced by ResolveHostApiKey().
|
inline |
Definition at line 74 of file agent_editor_internal.h.
References yaze::editor::UserSettings::Preferences::anthropic_api_key, yaze::editor::UserSettings::Preferences::AiHost::api_key, yaze::editor::UserSettings::Preferences::AiHost::api_type, yaze::editor::UserSettings::Preferences::AiHost::credential_id, yaze::editor::UserSettings::Preferences::gemini_api_key, yaze::cli::kProviderAnthropic, yaze::cli::kProviderGemini, yaze::cli::kProviderLmStudio, yaze::cli::kProviderOpenAi, LoadKeychainValue(), and yaze::editor::UserSettings::Preferences::openai_api_key.
Referenced by ApplyHostPresetToProfile(), and yaze::editor::AgentEditor::MaybeAutoDetectLocalProviders().

|
inline |
Definition at line 105 of file agent_editor_internal.h.
References yaze::editor::AgentEditor::BotProfile::anthropic_api_key, yaze::editor::UserSettings::Preferences::AiHost::api_type, yaze::editor::UserSettings::Preferences::AiHost::base_url, yaze::editor::AgentEditor::BotProfile::gemini_api_key, yaze::editor::AgentEditor::BotProfile::host_id, yaze::editor::UserSettings::Preferences::AiHost::id, yaze::cli::kProviderAnthropic, yaze::cli::kProviderGemini, yaze::cli::kProviderLmStudio, yaze::cli::kProviderOllama, yaze::cli::kProviderOpenAi, yaze::cli::NormalizeOpenAiBaseUrl(), yaze::editor::AgentEditor::BotProfile::ollama_host, yaze::editor::AgentEditor::BotProfile::openai_api_key, yaze::editor::AgentEditor::BotProfile::openai_base_url, yaze::editor::AgentEditor::BotProfile::provider, and ResolveHostApiKey().
Referenced by yaze::editor::AgentEditor::ApplyUserSettingsDefaults(), yaze::editor::AgentEditor::DrawConfigurationPanel(), and yaze::editor::AgentEditor::MaybeAutoDetectLocalProviders().
