#include <agent_chat_history_codec.h>
Classes | |
| struct | AgentConfigSnapshot |
| struct | CollaborationState |
| struct | MultimodalState |
| struct | Snapshot |
Static Public Member Functions | |
| static bool | Available () |
| static absl::StatusOr< Snapshot > | Load (const std::filesystem::path &path) |
| static absl::Status | Save (const std::filesystem::path &path, const Snapshot &snapshot) |
Definition at line 21 of file agent_chat_history_codec.h.
|
static |
Definition at line 122 of file agent_chat_history_codec.cc.
|
static |
Definition at line 130 of file agent_chat_history_codec.cc.
References yaze::editor::AgentChatHistoryCodec::CollaborationState::active, yaze::editor::AgentChatHistoryCodec::Snapshot::agent_config, yaze::cli::agent::ChatMessage::SessionMetrics::average_latency_seconds, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::chain_mode, yaze::editor::AgentChatHistoryCodec::Snapshot::collaboration, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::ToolFlags::dialogue, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::ToolFlags::dungeon, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::ToolFlags::emulator, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::favorite_models, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::gemini_api_key, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::goals, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::ToolFlags::gui, yaze::editor::AgentChatHistoryCodec::Snapshot::history, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::ModelPreset::host, yaze::cli::agent::ChatMessage::is_internal, yaze::cli::agent::ChatMessage::json_pretty, yaze::cli::agent::ChatMessage::kAgent, yaze::cli::agent::ChatMessage::kUser, yaze::editor::AgentChatHistoryCodec::MultimodalState::last_capture_path, yaze::editor::AgentChatHistoryCodec::CollaborationState::last_synced, yaze::editor::AgentChatHistoryCodec::MultimodalState::last_updated, yaze::cli::agent::ChatMessage::ModelMetadata::latency_seconds, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::max_output_tokens, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::max_retry_attempts, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::max_tool_iterations, yaze::cli::agent::ChatMessage::message, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::ToolFlags::messages, yaze::cli::agent::ChatMessage::metrics, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::ModelPreset::model, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::model, yaze::cli::agent::ChatMessage::ModelMetadata::model, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::model_chain, yaze::cli::agent::ChatMessage::model_metadata, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::model_presets, yaze::editor::AgentChatHistoryCodec::Snapshot::multimodal, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::ToolFlags::music, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::ModelPreset::name, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::ollama_host, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::ToolFlags::overworld, yaze::cli::agent::ChatMessage::ModelMetadata::parameters, yaze::editor::AgentChatHistoryCodec::CollaborationState::participants, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::persona_notes, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::ModelPreset::pinned, yaze::cli::agent::ChatMessage::proposal, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::ModelPreset::provider, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::provider, yaze::cli::agent::ChatMessage::ModelMetadata::provider, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::ToolFlags::resources, yaze::cli::agent::ChatMessage::sender, yaze::editor::AgentChatHistoryCodec::CollaborationState::session_id, yaze::editor::AgentChatHistoryCodec::CollaborationState::session_name, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::show_reasoning, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::ToolFlags::sprite, yaze::editor::AgentChatHistoryCodec::MultimodalState::status_message, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::stream_responses, yaze::cli::agent::ChatMessage::table_data, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::ModelPreset::tags, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::temperature, yaze::cli::agent::ChatMessage::timestamp, yaze::cli::agent::ChatMessage::ModelMetadata::tool_iterations, yaze::cli::agent::ChatMessage::ModelMetadata::tool_names, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::tools, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::top_p, yaze::cli::agent::ChatMessage::SessionMetrics::total_agent_messages, yaze::cli::agent::ChatMessage::SessionMetrics::total_commands, yaze::cli::agent::ChatMessage::SessionMetrics::total_elapsed_seconds, yaze::cli::agent::ChatMessage::SessionMetrics::total_proposals, yaze::cli::agent::ChatMessage::SessionMetrics::total_tool_calls, yaze::cli::agent::ChatMessage::SessionMetrics::total_user_messages, yaze::cli::agent::ChatMessage::SessionMetrics::turn_index, yaze::editor::AgentChatHistoryCodec::AgentConfigSnapshot::verbose, and yaze::cli::agent::ChatMessage::warnings.
|
static |
Definition at line 356 of file agent_chat_history_codec.cc.
References yaze::editor::AgentChatHistoryCodec::CollaborationState::active, yaze::editor::AgentChatHistoryCodec::Snapshot::agent_config, yaze::Json::array(), yaze::editor::AgentChatHistoryCodec::Snapshot::collaboration, yaze::editor::AgentChatHistoryCodec::Snapshot::history, yaze::cli::agent::ChatMessage::kUser, yaze::editor::AgentChatHistoryCodec::MultimodalState::last_capture_path, yaze::editor::AgentChatHistoryCodec::CollaborationState::last_synced, yaze::editor::AgentChatHistoryCodec::MultimodalState::last_updated, yaze::editor::AgentChatHistoryCodec::Snapshot::multimodal, yaze::editor::AgentChatHistoryCodec::CollaborationState::participants, yaze::editor::AgentChatHistoryCodec::CollaborationState::session_id, yaze::editor::AgentChatHistoryCodec::CollaborationState::session_name, and yaze::editor::AgentChatHistoryCodec::MultimodalState::status_message.
