From d3830b2fd1cc7d1209b6fb69f8ba0c99b55259fa Mon Sep 17 00:00:00 2001 From: Wei Ouyang Date: Mon, 8 Apr 2024 11:12:57 -0700 Subject: [PATCH] Fix argument name to assistant_name --- public/chat/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/chat/index.html b/public/chat/index.html index 737d7703..c717cd41 100644 --- a/public/chat/index.html +++ b/public/chat/index.html @@ -780,7 +780,7 @@

Welcome to BioImage.IO Chatbot

if(!allAssistants[assistantName]) { defaultAssistant = "Melman" } - assistantName = urlParams.get('assistant') || (ctx.config && ctx.config.assistant_name) || defaultAssistant; + assistantName = urlParams.get('assistant') || (ctx.config && ctx.config.assistant) || defaultAssistant; if (api.getChatbotExtensions) { const extensions = await api.getChatbotExtensions(_registerExtension) // object with name: extension for (let ext of Object.values(extensions)) {