#include "app/editor/agent/agent_editor.h"
#include <algorithm>
#include <cstdlib>
#include <filesystem>
#include <memory>
#include <optional>
#include <unordered_set>
#include "absl/strings/ascii.h"
#include "absl/strings/match.h"
#include "absl/time/clock.h"
#include "absl/time/time.h"
#include "app/editor/agent/agent_chat.h"
#include "app/editor/agent/agent_editor_internal.h"
#include "app/editor/system/proposal_drawer.h"
#include "app/editor/system/session/user_settings.h"
#include "app/editor/ui/toast_manager.h"
#include "cli/service/agent/conversational_agent_service.h"
#include "cli/service/ai/ai_config_utils.h"
#include "cli/service/ai/provider_ids.h"
#include "cli/service/ai/service_factory.h"
#include "httplib.h"
#include "rom/rom.h"
#include "util/platform_paths.h"
Go to the source code of this file.
|
| std::filesystem::path | yaze::editor::anonymous_namespace{agent_editor_models.cc}::ExpandUserPath (const std::string &input) |
| |
| bool | yaze::editor::anonymous_namespace{agent_editor_models.cc}::HasModelExtension (const std::filesystem::path &path) |
| |
| void | yaze::editor::anonymous_namespace{agent_editor_models.cc}::AddUniqueModelName (const std::string &name, std::vector< std::string > *output, std::unordered_set< std::string > *seen) |
| |
| bool | yaze::editor::anonymous_namespace{agent_editor_models.cc}::IsOllamaModelsPath (const std::filesystem::path &path) |
| |
| void | yaze::editor::anonymous_namespace{agent_editor_models.cc}::CollectOllamaManifestModels (const std::filesystem::path &models_root, std::vector< std::string > *output, std::unordered_set< std::string > *seen) |
| |
| void | yaze::editor::anonymous_namespace{agent_editor_models.cc}::CollectModelFiles (const std::filesystem::path &base_path, std::vector< std::string > *output, std::unordered_set< std::string > *seen) |
| |
| std::vector< std::string > | yaze::editor::anonymous_namespace{agent_editor_models.cc}::CollectLocalModelNames (const UserSettings::Preferences *prefs) |
| |
| bool | yaze::editor::anonymous_namespace{agent_editor_models.cc}::ContainsText (const std::string &haystack, const std::string &needle) |
| |
| bool | yaze::editor::anonymous_namespace{agent_editor_models.cc}::StartsWithText (const std::string &text, const std::string &prefix) |
| |
| bool | yaze::editor::anonymous_namespace{agent_editor_models.cc}::IsTailscaleEndpoint (const std::string &base_url) |
| |
| bool | yaze::editor::anonymous_namespace{agent_editor_models.cc}::IsLocalOrTrustedEndpoint (const std::string &base_url, bool allow_insecure) |
| |
| bool | yaze::editor::anonymous_namespace{agent_editor_models.cc}::ProbeHttpEndpoint (const std::string &base_url, const char *path) |
| |
| bool | yaze::editor::anonymous_namespace{agent_editor_models.cc}::ProbeOllamaHost (const std::string &base_url) |
| |
| bool | yaze::editor::anonymous_namespace{agent_editor_models.cc}::ProbeOpenAICompatible (const std::string &base_url) |
| |