NeoGraph 0.10.0
A C++17 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
neograph::acp::SessionUpdate Struct Reference

Streaming event the agent sends while a prompt is in flight. More...

#include <types.h>

Public Attributes

ContentBlock content
 populated for *_chunk variants
 
json raw
 full original JSON (always populated)
 
std::string session_update
 discriminator
 

Detailed Description

Streaming event the agent sends while a prompt is in flight.

session_update is the discriminator string. Common variants we model:

  • "agent_message_chunk" : final-answer text streamed back; uses content
  • "agent_thought_chunk" : reasoning trace; uses content
  • "user_message_chunk" : echo of inbound user text (rare)
  • "tool_call" : new tool invocation; uses raw until typed
  • "tool_call_update" : update to an in-flight tool call
  • "plan" : structured execution plan

For unmodelled variants (and forward-compat), the full notification JSON is preserved in raw.

Definition at line 317 of file types.h.


The documentation for this struct was generated from the following file: