内部服务器错误 500 - 手动配置 [Discourse AI]

Check your /logs route and see if there is more information about the error there. IIRC, Ollama needs something in the API key field, even if not used.