feat: add multimodal image marker support with Ollama vision
This commit is contained in:
parent
63aacb09ff
commit
dcd0bf641d
21 changed files with 1152 additions and 78 deletions
|
|
@ -511,6 +511,12 @@ impl Provider for ReliableProvider {
|
|||
.unwrap_or(false)
|
||||
}
|
||||
|
||||
fn supports_vision(&self) -> bool {
|
||||
self.providers
|
||||
.iter()
|
||||
.any(|(_, provider)| provider.supports_vision())
|
||||
}
|
||||
|
||||
async fn chat_with_tools(
|
||||
&self,
|
||||
messages: &[ChatMessage],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue