style: fix gci formatting in protocoltypes/types.go

This commit is contained in:
Zhaoyikaiii 2026-02-25 15:36:54 +08:00
parent f7ac6c0aff
commit e63ce63d7c

View file

@ -48,7 +48,7 @@ type CacheControl struct {
// Adapters that understand SystemParts can use these blocks to set
// per-block cache control (e.g. Anthropic's cache_control: ephemeral).
type ContentBlock struct {
Type string `json:"type"` // "text"
Type string `json:"type"` // "text"
Text string `json:"text"`
CacheControl *CacheControl `json:"cache_control,omitempty"`
}