mirror of
https://github.com/khodges42/nightShift.git
synced 2026-06-14 10:08:37 +00:00
850 B
850 B
Phase 17 Devlog: Local Model Backend
Implemented
- Added first-class
backend: ollamaagent config support. - Required
modelfor Ollama agents. - Kept
backend: commandunchanged. - Reused the existing prompt bundle for Ollama.
- Invoked Ollama as
ollama run <model>with prompt input on stdin. - Persisted Ollama responses through the same agent artifact format.
- Added tests with mocked subprocess calls so Ollama is not required.
Decisions Made
- Ollama is implemented as a local subprocess backend instead of an HTTP API wrapper.
- Missing Ollama executable returns a failed agent invocation artifact rather than crashing.
- Backend artifacts remain comparable across command and Ollama agents.
Notes
- Real model quality and model availability are user environment concerns; tests do not require a running Ollama daemon.