Skip to content

Commit

Permalink
Fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
oeway committed Apr 8, 2024
1 parent ae2dbe4 commit ae8b3a1
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 @@ -777,7 +777,7 @@ <h3 class="text-center">Welcome to BioImage.IO Chatbot</h3>
await api.export({
setup() { }, async run(ctx) {
let defaultAssistant = "Skyler";
if(!allAssistants.includes(assistantName)) {
if(!allAssistants[assistantName]) {
defaultAssistant = "Melman"
}
assistantName = urlParams.get('assistant') || (ctx.config && ctx.config.assistant_name) || defaultAssistant;
Expand Down

0 comments on commit ae8b3a1

Please sign in to comment.