chat_image#
Connect a provider and configure retries, credentials, and transport. See the guide.
- zett_agent.providers.openai_compatible.chat_image(part, detail=ImageDetail.AUTO)[source]#
Render an image source as a Chat Completions
image_urlcontent part.- Parameters:
part (ImageUrlSource | ImageBytesSource)
detail (ImageDetail)
- Return type:
dict[str, JsonValue]