Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
messages_json.h
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
27#pragma once
28
30
31#include <string>
32#include <vector>
33
34namespace entropic {
35
54std::vector<Message> parse_messages_json(const char* json_str);
55
63bool any_message_has_images(const std::vector<Message>& messages);
64
65} // namespace entropic
Message struct for conversation history.
Activate model on GPU (WARM → ACTIVE).
bool any_message_has_images(const std::vector< Message > &messages)
Convenience: true if any message carries image content_parts.
std::vector< Message > parse_messages_json(const char *json_str)
Parse a JSON array of messages into a vector of Message.