From 1b2baa6c67ad502d96037fc30c2d3752e4740c67 Mon Sep 17 00:00:00 2001 From: Lucas Caresia Date: Thu, 24 Oct 2024 18:08:25 -0300 Subject: [PATCH] Fixed requested changes --- components/chat_data/chat_data.app.mjs | 1 - components/chat_data/common/constants.mjs | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/components/chat_data/chat_data.app.mjs b/components/chat_data/chat_data.app.mjs index f983b665b8468..3410dd8bcad03 100644 --- a/components/chat_data/chat_data.app.mjs +++ b/components/chat_data/chat_data.app.mjs @@ -49,7 +49,6 @@ export default { type: "string", label: "Model", description: "The chatbot defaults to `custom-data-upload` if the model parameter is not provided", - optional: true, options: constants.CHATBOT_MODELS, }, }, diff --git a/components/chat_data/common/constants.mjs b/components/chat_data/common/constants.mjs index 86cbdd41950b3..87f8af5c966a2 100644 --- a/components/chat_data/common/constants.mjs +++ b/components/chat_data/common/constants.mjs @@ -1,8 +1,8 @@ -export default { - CHATBOT_MODELS: [ +export default { + CHATBOT_MODELS: [ "custom-data-upload", "medical-chat-human", "medical-chat-vet", - "custom-model", - ], + "custom-model", + ], };