• Devon Rifkin's avatar
    routes: fix built-in renderers for `api/generate` · 6db8da99
    Devon Rifkin authored
    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
    6db8da99
routes_debug_test.go 12.8 KB