-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
Description
Parent: #490
Scope
Foundation layer — extend the content model and provider trait for image support.
Changes
-
crates/zeph-llm/src/provider.rs- Add
MessagePart::Image { data: Vec<u8>, mime_type: String }variant to the enum - Add
fn supports_vision(&self) -> boolwith defaultfalsetoLlmProvidertrait - Update
flatten_parts()to skip image parts (text-only fallback)
- Add
-
crates/zeph-core/src/channel.rs- Add
ImageData { data: Vec<u8>, mime_type: String, filename: Option<String> }struct - Add
images: Vec<ImageData>field toChannelMessage
- Add
-
Agent loop (
crates/zeph-core/src/agent.rsor equivalent)- Convert
ChannelMessage.imagesintoMessagePart::Imagewhen building LLM messages
- Convert
Notes
- No provider implementations yet — just the trait and data model
- This unblocks all downstream issues
Reactions are currently unavailable