|
Longbridge OpenAPI C++ SDK
|
#include <types.hpp>
Public Attributes | |
| std::string | text |
| Incremental text fragment. More... | |
| std::string | message_type |
| std::string | key |
| int64_t | started_at |
| Time this segment started, Unix timestamp in seconds. More... | |
| std::string | stage |
| Stage identifier; only present when message_type is "process". More... | |
| std::string | stage_title |
| std::string | stage_finished_title |
| std::string | outputs_json |
Payload of a Message conversation stream event — an incremental text chunk. This is the highest-frequency event; concatenate text fragments in arrival order.
| std::string longbridge::agent::MessagePayload::key |
Identifier of the stream segment this fragment belongs to. Fragments with the same key form one continuous block — group by key when rendering
| std::string longbridge::agent::MessagePayload::message_type |
answer — final answer text; think — reasoning process; process — stage progress description
| std::string longbridge::agent::MessagePayload::outputs_json |
Extra payload attached to the fragment, as a JSON string; empty when absent
| std::string longbridge::agent::MessagePayload::stage |
Stage identifier; only present when message_type is "process".
| std::string longbridge::agent::MessagePayload::stage_finished_title |
Stage title after it finishes; only present when message_type is "process"
| std::string longbridge::agent::MessagePayload::stage_title |
Stage title while running; only present when message_type is "process"
| int64_t longbridge::agent::MessagePayload::started_at |
Time this segment started, Unix timestamp in seconds.
| std::string longbridge::agent::MessagePayload::text |
Incremental text fragment.