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.
This commit is contained in:
2026-09-30 17:29:11 +02:00
parent c7d14ffee7
commit 7690720913
@@ -1,11 +1,8 @@
--- # go-ollama
description: go-ollama wrapper — ergonomic client for github.com/ollama/ollama/api
alwaysApply: true
---
# 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 ## Stack
@@ -13,15 +10,19 @@ Follow `docs/project-specification.md` for design and implementation.
- **Module:** `gitea.neitzel.de/konrad/go-ollama`, package `gollama` - **Module:** `gitea.neitzel.de/konrad/go-ollama`, package `gollama`
- **Wraps:** `github.com/ollama/ollama/api` — do not reimplement HTTP - **Wraps:** `github.com/ollama/ollama/api` — do not reimplement HTTP
## Design ## Design (summary)
- Default to non-streaming (`stream: false`); aggregate into `Result` - Default to non-streaming (`stream: false`); aggregate into `Result`
- `CallOption` for per-request overrides; `OptionSet` fluent builder for generation options - `CallOption` for per-request overrides; `OptionSet` fluent builder for generation options
- `Session` for multi-turn chat with automatic history - `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 ## Integration tests
- Default Ollama host: `http://debian:11434` in `testconfig/defaults.toml` - Default Ollama host: `http://debian:11434` in `testconfig/defaults.toml`
- Override via `testconfig/local.toml` (gitignored) or `OLLAMA_HOST` - Override via `testconfig/local.toml` (gitignored) or `OLLAMA_HOST`
- Run: `go test -tags=integration ./...` - Run: `go test -tags=integration ./...`
## Work tracking
Local markdown issues: [../.scratch/](../.scratch/) — see [docs/agents/issue-tracker.md](../docs/agents/issue-tracker.md).