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:
@@ -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).
|
||||
Reference in New Issue
Block a user