mirror of
https://github.com/zebrajr/ollama.git
synced 2026-01-15 12:15:09 +00:00
This PR consolidates all embedding prompt-length checking, truncation, and prompt token counting into the runner to ensure a single source of truth.