fleet-memory/skills/hindsight-docs/references
Nicolò Boschi f74b577e02
feat: add built-in llama.cpp LLM provider for local inference (#933)
* feat: add built-in llama.cpp LLM provider for fully local inference

Add `llamacpp` as a new LLM provider that manages a llama-cpp-python server
subprocess. Auto-downloads Gemma 4 E2B Q4_K_M (~3.5 GB) on first use and
runs inference locally via Metal/CUDA with no external services needed.

- New provider: `HINDSIGHT_API_LLM_PROVIDER=llamacpp`
- Singleton server shared across retain/reflect/consolidation
- Configurable: model path, GPU layers, context size, grammar enforcement
- User-extensible via `HINDSIGHT_API_LLAMACPP_EXTRA_ARGS`
- Flash attention + prompt caching enabled by default
- LLM provider cleanup on shutdown (stops subprocess)
- hindsight-embed: `--ui` flag on `daemon start`, removed FORCE_CPU on macOS
- Docs: configuration.md, models.mdx, providers grid updated

* chore: regenerate docs skill and update lockfile for local-llm dep
2026-04-08 15:22:10 +02:00
..
changelog chore: drop hindsight-hermes integration (#931) 2026-04-08 11:59:35 +02:00
developer feat: add built-in llama.cpp LLM provider for local inference (#933) 2026-04-08 15:22:10 +02:00
sdks fix(ci): resolve all CI failures (#847) 2026-04-02 17:17:42 +02:00
best-practices.md security: bump vite across integrations (high CVE fix) (#913) 2026-04-08 09:11:21 +02:00
faq.md security: bump vite across integrations (high CVE fix) (#913) 2026-04-08 09:11:21 +02:00
openapi.json feat: add retain update_mode='append' for document content concatenation (#932) 2026-04-08 14:39:16 +02:00