namespace AIStudio.Provider.OpenAI; /// /// Image sub-content for multimodal messages using nested URL format. /// /// /// This record is used when the provider expects the format: /// /// { "type": "image_url", "image_url": { "url": "data:image/jpeg;base64,..." } } /// /// Used by LM Studio, VLLM, and other OpenAI-compatible providers. /// public record SubContentImageUrlNested(SubContentType Type, ISubContentImageUrl ImageUrl) : ISubContent { public SubContentImageUrlNested() : this(SubContentType.IMAGE_URL, new SubContentImageUrlData()) { } }