mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-17 23:52:24 +00:00
Add an optional `seed` to CompletionParams and thread it onto the OpenAI and local (Ollama / OpenAI-compatible) request bodies. The field is dropped when unset, so existing callers are byte-identical. Pin a stable seed for the status/reference cards (defaulted in the status provider) and the period narrative, so a prompt change is diff-able against a fixed baseline rather than masked by low-temperature non-determinism. Anthropic's Messages API has no seed knob, so its client ignores the field (documented inline). The seed is annotated on the narrative wide-event.