Documentation
¶
Overview ¶
Package part defines message part types for content, thinking, and tool calls.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Part ¶
type Part struct {
// Type identifies what kind of part this is.
Type Type
// Text holds the content for thinking/content parts.
Text string
// Call holds the tool call information for tool parts.
Call *call.Call
}
Part represents a single part of a message for incremental UI rendering.
func (Part) IsThinking ¶
IsThinking returns true if this is a thinking part.
Click to show internal directories.
Click to hide internal directories.