Add canonical ContentBlock and ImageSource types to backend.go. When Message.ContentBlocks is set, it takes precedence over Content. Anthropic: new anthropicImageSource type, anthropicContentBlocks() helper converts canonical blocks to wire format. buildAnthropicMessages handles ContentBlocks on user and tool messages. OpenAI: new openAIImageURL type, openAIContentBlocks() helper converts canonical blocks to wire format (image_url with data: URIs). encodeOpenAIMessages uses ContentBlocks when present. |
||
|---|---|---|
| .. | ||
| agent | ||
| backend | ||
| config | ||
| env | ||
| log | ||
| paths | ||
| skills | ||
| tools | ||