-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Scope
Implement vision support in the OpenAI provider.
Changes
crates/zeph-llm/src/openai.rs- Override
supports_vision() -> true - When message contains
MessagePart::Image: serialize content as array[{type: "text", text: "..."}, {type: "image_url", image_url: {url: "data:mime;base64,..."}}]instead of plain string
- Override
Notes
- GPT-4o and later models support vision natively
- Images sent as base64 data URLs in the content array
- Compatible provider (
crates/zeph-llm/src/compatible.rs) may also benefit — check if it shares the OpenAI request format
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request