diff --git a/ui/src/pages/ChatConfiguration/ChatConfiguration.jsx b/ui/src/pages/ChatConfiguration/ChatConfiguration.jsx index 239e203a..27f2063b 100644 --- a/ui/src/pages/ChatConfiguration/ChatConfiguration.jsx +++ b/ui/src/pages/ChatConfiguration/ChatConfiguration.jsx @@ -98,8 +98,8 @@ const BotConfiguration = () => { setSelectedOptions(tempSelectedCapabilities) - if(configs[0].capabalities?.length>0){ - setCapabalities(configs[0].capabalities) + if(configs[0].capabilities?.length>0){ + setCapabalities(configs[0].capabilities) } if(configs[0].inference[0]?.id){ @@ -172,6 +172,7 @@ const BotConfiguration = () => { saveBotInferene(currentConfigID, currentInferenceID, data).then(() => { toast.success("Inference saved successfully") setShowNotificationPanel(false); + setActiveTab("capabalities") }) .catch(() => { setShowNotificationPanel(true); @@ -326,23 +327,23 @@ const BotConfiguration = () => {