style: fix gci formatting in protocoltypes/types.go
This commit is contained in:
parent
1f7cbd9164
commit
edc78191c9
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ type CacheControl struct {
|
||||||
// Adapters that understand SystemParts can use these blocks to set
|
// Adapters that understand SystemParts can use these blocks to set
|
||||||
// per-block cache control (e.g. Anthropic's cache_control: ephemeral).
|
// per-block cache control (e.g. Anthropic's cache_control: ephemeral).
|
||||||
type ContentBlock struct {
|
type ContentBlock struct {
|
||||||
Type string `json:"type"` // "text"
|
Type string `json:"type"` // "text"
|
||||||
Text string `json:"text"`
|
Text string `json:"text"`
|
||||||
CacheControl *CacheControl `json:"cache_control,omitempty"`
|
CacheControl *CacheControl `json:"cache_control,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue