Can you go to the page at /logs
on your instance and share the error info here please?
Did you run the cURL
test from inside the Discourse container or from the outside? It may be a networking issue where you need to make the ollama
instance reachable by Discourse.