内部サーバーエラー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.