output_item_result struct
#include <nxtai/agent.hpp>
Result of consuming one output item from the event stream.
Public variables
-
std::
optional<tools:: function_call> call - Parsed function call, if the output item was a function call.
-
std::
optional<nlohmann::json> item - Complete output item JSON, when one was available.