package gollama import "github.com/ollama/ollama/api" // Result is the unified non-streaming response from completion and chat calls. type Result struct { Text string Model string Thinking string Metrics api.Metrics Raw any // *api.GenerateResponse or *api.ChatResponse } // Chunk is a single streaming response fragment. type Chunk struct { Text string Thinking string Done bool Metrics api.Metrics } // Progress reports model pull/push progress. type Progress struct { Status string Digest string Total int64 Completed int64 }