Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
messages_json.cpp File Reference

Implementation of the shared messages-JSON parser. More...

#include <entropic/types/messages_json.h>
#include <entropic/types/content.h>
#include <nlohmann/json.hpp>
Include dependency graph for messages_json.cpp:

Go to the source code of this file.

Namespaces

namespace  entropic
 Activate model on GPU (WARM → ACTIVE).
 

Functions

std::vector< Messageentropic::parse_messages_json (const char *json_str)
 Parse a JSON array of messages into a vector of Message.
 
bool entropic::any_message_has_images (const std::vector< Message > &messages)
 Convenience: true if any message carries image content_parts.
 

Detailed Description

Implementation of the shared messages-JSON parser.

Version
2.1.8

Definition in file messages_json.cpp.