Description
Add Ollama as a local LLM provider, allowing users to run models locally without any API key.
Implementation
- Create
src/agent/clients/ollama_client.py extending BaseLLMClient
- Implement
chat(), stream(), chat_with_tools() using Ollama's OpenAI-compatible API
- Add model mappings to
src/agent/clients/factory.py
- Default endpoint:
http://localhost:11434
Reference
This is a great first contribution — the pattern is well-established in the codebase.
Description
Add Ollama as a local LLM provider, allowing users to run models locally without any API key.
Implementation
src/agent/clients/ollama_client.pyextendingBaseLLMClientchat(),stream(),chat_with_tools()using Ollama's OpenAI-compatible APIsrc/agent/clients/factory.pyhttp://localhost:11434Reference
src/agent/clients/groq_client.pyThis is a great first contribution — the pattern is well-established in the codebase.