Agent thought chunk update.
Represents a streaming chunk of agent reasoning/thinking content.
Required Fields
type- Always "agent_thought_chunk" for this variantsession_update- Update identifiercontent- Content block (ContentBlock struct or map)
Optional Fields
meta- Additional metadata (map)
Example
%ACPex.Schema.Types.SessionUpdate.AgentThoughtChunk{
type: "agent_thought_chunk",
session_update: "update-789",
content: %{"type" => "text", "text" => "Let me analyze this..."}
}JSON Representation
{
"type": "agent_thought_chunk",
"sessionUpdate": "update-789",
"content": {
"type": "text",
"text": "Let me analyze this..."
}
}
Summary
Functions
Creates a changeset for validation.
Types
Functions
@spec changeset(t(), map()) :: Ecto.Changeset.t()
Creates a changeset for validation.
Required Fields
session_update- Must be presentcontent- Must be present
The type field defaults to "agent_thought_chunk".