Skip to content

Commit

Permalink
Fix argument name to assistant_name
Browse files Browse the repository at this point in the history
  • Loading branch information
oeway committed Apr 8, 2024
1 parent ae8b3a1 commit d3830b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/chat/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ <h3 class="text-center">Welcome to BioImage.IO Chatbot</h3>
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)) {
Expand Down

0 comments on commit d3830b2

Please sign in to comment.