package apitypes

type Message struct {
	Role    string
	Content string
}

type Tool struct {
	Type     string
	Function ToolFunction
}

type ToolFunction struct {
	Name        string
	Description string
	Parameters  interface{}
}

type ToolCall struct {
	ID        string
	Name      string
	Arguments string
}

type StreamChunk struct {
	Type     ChunkType
	Text     string
	Thinking string
	ToolCall *ToolCall
	Done     bool
}

type ChunkType int

const (
	ChunkText ChunkType = iota
	ChunkThinking
	ChunkToolCall
	ChunkDone
)
