Versions in this module Expand all Collapse all v0 v0.1.0 Nov 4, 2026 Changes in this version + const Image + const MaxImageBytes + const MaxImages + const MaxRequestImageBytes + const MaxRequestImages + const Text + const ToolResult + const ToolUse + var ImageTypes = []string + type Message struct + Native *Native + Parts []Part + Role Role + func (m Message) Text() string + type Native struct + Provider string + Raw json.RawMessage + type Part struct + Data []byte + ID string + Input json.RawMessage + IsError bool + MediaType string + Name string + Ref string + Text string + ToolUseID string + Type string + type Role string + const Assistant + const User + type Usage struct + CacheRead int64 + CacheWrite int64 + Input int64 + Output int64 + func (u *Usage) Add(v Usage)