image_block#
Connect a provider and configure retries, credentials, and transport. See the guide.
- zett_agent.providers.anthropic_compatible.image_block(source)[源代码]#
Convert a typed image source into a Messages content block.
- 参数:
source (ImageUrlSource | ImageBytesSource)
- 返回类型:
dict[str, JsonValue]