feat: add llm.Foreman() constructor for foreman daemon integration #4

Closed
steve wants to merge 2 commits from feat/foreman-constructor into main

2 Commits

Author SHA1 Message Date
steve 0c4e0081d8 docs: add DD#9 for foreman integration decision
CI / Root Module (pull_request) Failing after 6s
CI / Lint (pull_request) Failing after 6s
CI / V2 Module (pull_request) Successful in 1m25s
2026-05-23 22:36:59 +00:00
steve 15fb8e19a8 feat: add llm.Foreman() constructor for foreman daemon integration
Foreman is a private queued Ollama endpoint with observability. Since it
speaks native Ollama on the wire, the constructor delegates to the existing
ollama provider — no new code paths. Streaming, tool use, and think all
work transparently.

baseURL is positional and required (no sensible default for a private
daemon). apiKey can be empty for network-trusted deployments.

See ADR-0011 in the foreman repo for the integration design.
2026-05-23 22:36:31 +00:00