1#ifndef FORGEANT_TYPES_CONTENT_HPP
2#define FORGEANT_TYPES_CONTENT_HPP
31 return id == other.
id &&
name == other.name &&
input == other.input;
43using ContentBlock = std::variant<TextBlock, ToolUseBlock, ToolResultBlock>;
void to_json(Json &j, const TextBlock &block)
void from_json(const Json &j, TextBlock &block)
std::variant< TextBlock, ToolUseBlock, ToolResultBlock > ContentBlock
Definition content.hpp:43
Definition content.hpp:10
bool operator==(const TextBlock &) const =default
std::string text
Definition content.hpp:11