feat: add ollama support (#536)

This commit is contained in:
Ralph Khreish
2025-05-18 10:07:31 +02:00
committed by GitHub
parent 0699f64299
commit f4a83ec047
6 changed files with 184 additions and 11 deletions

View File

@@ -0,0 +1,11 @@
---
'task-master-ai': minor
---
Add Ollama as a supported AI provider.
- You can now add it by running `task-master models --setup` and selecting it.
- Ollama is a local model provider, so no API key is required.
- Ollama models are available at `http://localhost:11434/api` by default.
- You can change the default URL by setting the `OLLAMA_BASE_URL` environment variable or by adding a `baseUrl` property to the `ollama` model role in `.taskmasterconfig`.
- If you want to use a custom API key, you can set it in the `OLLAMA_API_KEY` environment variable.