mirror of
https://github.com/ollama/ollama.git
synced 2025-11-11 03:47:56 +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
11 KiB
11 KiB