feat(ollama): add support for base64-encoded images in chat messages and forward them to the Ollama provider

This commit is contained in:
2026-01-20 01:10:27 +00:00
parent d49152390f
commit 3b900d0ba9
4 changed files with 83 additions and 8 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 2026-01-20 - 0.12.0 - feat(ollama)
add support for base64-encoded images in chat messages and forward them to the Ollama provider
- Add optional images?: string[] to ChatMessage and ChatOptions interfaces (multimodal/vision support)
- Propagate images from messageHistory and ChatOptions to the Ollama API payload in chat, chatStreaming, and streaming handlers
- Changes are non-breaking: images are optional and existing behavior is preserved when absent
## 2026-01-20 - 0.11.0 - feat(ollama)
support defaultOptions and defaultTimeout for ollama provider