package entity // ChunkType represents the type of stream chunk type ChunkType int const ( ChunkText ChunkType = iota ChunkThinking ChunkToolCall ChunkDone ) // StreamChunk represents a chunk in SSE streaming type StreamChunk struct { Type ChunkType Text string Thinking string ToolCall *ToolCall Done bool }