image_block#

Connect a provider and configure retries, credentials, and transport. See the guide.

zett_agent.providers.anthropic_compatible.image_block(source)[source]#

Convert a typed image source into a Messages content block.

Parameters:

source (ImageUrlSource | ImageBytesSource)

Return type:

dict[str, JsonValue]