CONTEXT.md is the local overview, so the copied Cursor rule is no longer the spec pointer.
1.0 KiB
1.0 KiB
go-ollama
Ergonomic Go client for github.com/ollama/ollama/api.
Canonical spec: docs/project-specification.md — follow it for design and implementation.
Stack
- Language: Go (see workspace
go.workfor version) - Module:
gitea.neitzel.de/konrad/go-ollama, packagegollama - Wraps:
github.com/ollama/ollama/api— do not reimplement HTTP
Design (summary)
- Default to non-streaming (
stream: false); aggregate intoResult CallOptionfor per-request overrides;OptionSetfluent builder for generation optionsSessionfor multi-turn chat with automatic history- Project docs override workspace defaults for this module
Integration tests
- Default Ollama host:
http://debian:11434intestconfig/defaults.toml - Override via
testconfig/local.toml(gitignored) orOLLAMA_HOST - Run:
go test -tags=integration ./...
Work tracking
Local markdown issues: ../.scratch/ — see docs/agents/issue-tracker.md.