Versions in this module Expand all Collapse all v1 v1.0.0 Sep 28, 2026 Changes in this version + type Attachment struct + ContentType string + Filename string + Ref string + Type string + URL string + type CacheControl struct + Type string + type ContentBlock struct + CacheControl *CacheControl + PromptLayer string + PromptSlot string + PromptSource string + Text string + Type string + type ExtraContent struct + Google *GoogleExtra + ToolFeedbackExplanation string + type FunctionCall struct + Arguments string + Name string + ThoughtSignature string + type GoogleExtra struct + ThoughtSignature string + type LLMResponse struct + Content string + FinishReason string + Reasoning string + ReasoningContent string + ReasoningDetails []ReasoningDetail + ToolCalls []ToolCall + Usage *UsageInfo + type Message struct + Attachments []Attachment + Content string + CreatedAt *time.Time + Media []string + ModelName string + PromptLayer string + PromptSlot string + PromptSource string + ReasoningContent string + RequestedSelection string + Role string + ServedIdentity string + ServedTarget string + SystemParts []ContentBlock + ToolCallID string + ToolCalls []ToolCall + type ReasoningDetail struct + Format string + Index int + Text string + Type string + type StreamChunk struct + Content string + ReasoningContent string + type ToolCall struct + Arguments map[string]any + ExtraContent *ExtraContent + Function *FunctionCall + ID string + Name string + ThoughtSignature string + Type string + type ToolDefinition struct + Function ToolFunctionDefinition + PromptLayer string + PromptSlot string + PromptSource string + Type string + type ToolFunctionDefinition struct + Description string + Name string + Parameters map[string]any + type UsageInfo struct + CompletionTokens int + PromptTokens int + TotalTokens int Other modules containing this package github.com/xibodev/compa/v2