yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
simple_chat_session.cc File Reference
#include "cli/service/agent/simple_chat_session.h"
#include <algorithm>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <unistd.h>
#include "absl/strings/str_cat.h"
#include "absl/strings/str_format.h"
#include "absl/strings/str_join.h"
#include "absl/time/time.h"
#include "cli/util/terminal_colors.h"

Go to the source code of this file.

Namespaces

namespace  yaze
 Main namespace for the application.
 
namespace  yaze::cli
 Namespace for the command line interface.
 
namespace  yaze::cli::agent
 
namespace  yaze::cli::agent::anonymous_namespace{simple_chat_session.cc}
 

Functions

std::string yaze::cli::agent::anonymous_namespace{simple_chat_session.cc}::EscapeJsonString (absl::string_view input)
 
std::string yaze::cli::agent::anonymous_namespace{simple_chat_session.cc}::QuoteJson (absl::string_view value)
 
std::string yaze::cli::agent::anonymous_namespace{simple_chat_session.cc}::TableToJson (const ChatMessage::TableData &table)
 
std::string yaze::cli::agent::anonymous_namespace{simple_chat_session.cc}::MetricsToJson (const ChatMessage::SessionMetrics &metrics)
 
std::string yaze::cli::agent::anonymous_namespace{simple_chat_session.cc}::MessageToJson (const ChatMessage &msg, bool show_timestamp)
 
void yaze::cli::agent::anonymous_namespace{simple_chat_session.cc}::PrintMarkdownTable (const ChatMessage::TableData &table)
 
void yaze::cli::agent::anonymous_namespace{simple_chat_session.cc}::PrintMarkdownMetrics (const ChatMessage::SessionMetrics &metrics)
 
std::string yaze::cli::agent::anonymous_namespace{simple_chat_session.cc}::SessionMetricsToJson (const ChatMessage::SessionMetrics &metrics)