From 7690720913ce9a121299b0d6a2ed4f44b48dcda9 Mon Sep 17 00:00:00 2001 From: Konrad Neitzel Date: Wed, 30 Sep 2026 17:29:11 +0200 Subject: [PATCH] Point the module glossary at the project specification. CONTEXT.md is the local overview, so the copied Cursor rule is no longer the spec pointer. --- .../project-specification.mdc => CONTEXT.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) rename .cursor/rules/project-specification.mdc => CONTEXT.md (60%) diff --git a/.cursor/rules/project-specification.mdc b/CONTEXT.md similarity index 60% rename from .cursor/rules/project-specification.mdc rename to CONTEXT.md index 0f50fcd..fe5e27e 100644 --- a/.cursor/rules/project-specification.mdc +++ b/CONTEXT.md @@ -1,11 +1,8 @@ ---- -description: go-ollama wrapper — ergonomic client for github.com/ollama/ollama/api -alwaysApply: true ---- +# go-ollama -# go-ollama — Project Rules +Ergonomic Go client for `github.com/ollama/ollama/api`. -Follow `docs/project-specification.md` for design and implementation. +**Canonical spec:** [docs/project-specification.md](./docs/project-specification.md) — follow it for design and implementation. ## Stack @@ -13,15 +10,19 @@ Follow `docs/project-specification.md` for design and implementation. - **Module:** `gitea.neitzel.de/konrad/go-ollama`, package `gollama` - **Wraps:** `github.com/ollama/ollama/api` — do not reimplement HTTP -## Design +## Design (summary) - Default to non-streaming (`stream: false`); aggregate into `Result` - `CallOption` for per-request overrides; `OptionSet` fluent builder for generation options - `Session` for multi-turn chat with automatic history -- Project `.cursor` overrides workspace rules for this module +- Project docs override workspace defaults for this module ## Integration tests - Default Ollama host: `http://debian:11434` in `testconfig/defaults.toml` - Override via `testconfig/local.toml` (gitignored) or `OLLAMA_HOST` - Run: `go test -tags=integration ./...` + +## Work tracking + +Local markdown issues: [../.scratch/](../.scratch/) — see [docs/agents/issue-tracker.md](../docs/agents/issue-tracker.md).