|
NeoGraph 0.10.0
A C++17 Graph Agent Engine Library — LangGraph for C++
|
Node that forwards an input string to a remote A2A agent. More...
#include <a2a_caller_node.h>
Public Member Functions | |
| std::string | get_name () const override |
| Get the node's unique name within the graph. | |
| asio::awaitable< neograph::graph::NodeOutput > | run (neograph::graph::NodeInput in) override |
v0.4 PR 9a: unified run — reads input_key from state, forwards to the remote A2A agent, writes the response (and task_id / context_id continuation handles) back. | |
Node that forwards an input string to a remote A2A agent.
Reads from input_key (default "prompt"), writes the agent's first text response into output_key (default "response"). Task / context ids are appended to the state under "<output_key>_task_id" and "<output_key>_context_id" so a follow-up node can continue the conversation.
Definition at line 35 of file a2a_caller_node.h.
|
inlineoverridevirtual |
Get the node's unique name within the graph.
Implements neograph::graph::GraphNode.
Definition at line 49 of file a2a_caller_node.h.
|
overridevirtual |
v0.4 PR 9a: unified run — reads input_key from state, forwards to the remote A2A agent, writes the response (and task_id / context_id continuation handles) back.
Cancel propagates through the underlying A2AClient transport.
Implements neograph::graph::GraphNode.