yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::anonymous_namespace{agent_chat.cc} Namespace Reference

Functions

std::string ResolveAgentChatHistoryPath ()
 
std::optional< std::filesystem::path > ResolveAgentSessionsDir ()
 
absl::Time FileTimeToAbsl (std::filesystem::file_time_type value)
 
std::string TrimTitle (const std::string &text)
 
std::string BuildConversationTitle (const std::filesystem::path &path, const std::vector< cli::agent::ChatMessage > &history)
 

Function Documentation

◆ ResolveAgentChatHistoryPath()

std::string yaze::editor::anonymous_namespace{agent_chat.cc}::ResolveAgentChatHistoryPath ( )

◆ ResolveAgentSessionsDir()

std::optional< std::filesystem::path > yaze::editor::anonymous_namespace{agent_chat.cc}::ResolveAgentSessionsDir ( )

Definition at line 50 of file agent_chat.cc.

References yaze::util::PlatformPaths::GetAppDataSubdirectory(), and ResolveAgentSessionsDir().

Referenced by ResolveAgentSessionsDir().

Here is the call graph for this function:

◆ FileTimeToAbsl()

absl::Time yaze::editor::anonymous_namespace{agent_chat.cc}::FileTimeToAbsl ( std::filesystem::file_time_type value)

Definition at line 58 of file agent_chat.cc.

References FileTimeToAbsl().

Referenced by FileTimeToAbsl().

Here is the call graph for this function:

◆ TrimTitle()

std::string yaze::editor::anonymous_namespace{agent_chat.cc}::TrimTitle ( const std::string & text)

Definition at line 68 of file agent_chat.cc.

References TrimTitle().

Referenced by BuildConversationTitle(), and TrimTitle().

Here is the call graph for this function:

◆ BuildConversationTitle()

std::string yaze::editor::anonymous_namespace{agent_chat.cc}::BuildConversationTitle ( const std::filesystem::path & path,
const std::vector< cli::agent::ChatMessage > & history )

Definition at line 81 of file agent_chat.cc.

References BuildConversationTitle(), yaze::cli::agent::ChatMessage::kUser, and TrimTitle().

Referenced by BuildConversationTitle().

Here is the call graph for this function: