diff --git a/public/scripts/slash-commands.js b/public/scripts/slash-commands.js index 201dcb122..37e99615d 100644 --- a/public/scripts/slash-commands.js +++ b/public/scripts/slash-commands.js @@ -3469,7 +3469,7 @@ function getModelOptions(quiet) { case 'openai': return oai_settings.chat_completion_source; default: - return nullResult; + return null; } }