Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AgentEventPayload ¶
type Event ¶
type Event struct {
Type EventType `json:"type"`
Payload json.RawMessage `json:"payload"`
}
type FinishData ¶
type FinishData struct {
Reason FinishReason `json:"reason"`
Time int64 `json:"time"`
Message string `json:"message,omitempty"`
}
type FinishReason ¶
type FinishReason string
const ( FinishReasonEndTurn FinishReason = "end_turn" FinishReasonError FinishReason = "error" )
type MessagePayload ¶
type Part ¶
type Part struct {
Type PartType `json:"type"`
Data json.RawMessage `json:"data"`
}
type ReasoningData ¶
type RunCompletePayload ¶
type ToolCallData ¶
type ToolResultData ¶
Click to show internal directories.
Click to hide internal directories.