mirror of
https://github.com/ollama/ollama.git
synced 2025-11-11 02:08:02 +01:00
Made it so when api/generate builds up a message array and generates the prompt it now goes through the same function as `api/chat` for consistency. This is where we hook the optional built-in renderers to bypass templates, which was missing for `api/generate` before this change. Closes: #12578
13 KiB
13 KiB