-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Labels
Description
Add Ollama support to the LLM abstraction
After implementing the new LLM abstraction with Anthropic support, we need to add support for Ollama models.
Tasks
- Research the best way to interact with Ollama directly (without Vercel AI SDK)
- Implement Ollama adapter for our LLM abstraction
- Convert between our message format and Ollama's format
- Handle tool calls and tool results properly
- Update configuration to support Ollama models
- Add tests for Ollama integration
Benefits
- Restore support for Ollama models that was removed when reverting Vercel AI SDK
- Enable local model usage for users who prefer not to use cloud APIs
- Implement a cleaner, more reliable integration than the previous version