From f4e3bcf55c3059b0b3a0d89d0c4b3b9a166e4a25 Mon Sep 17 00:00:00 2001 From: Enrico Ros Date: Thu, 18 May 2023 02:56:34 -0700 Subject: [PATCH] Fixme-- --- src/apps/chat/components/appbar/Dropdowns.tsx | 6 +++++- src/modules/llms/configurator/LLMOptions.tsx | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/apps/chat/components/appbar/Dropdowns.tsx b/src/apps/chat/components/appbar/Dropdowns.tsx index cd510bcb9..d9d98f314 100644 --- a/src/apps/chat/components/appbar/Dropdowns.tsx +++ b/src/apps/chat/components/appbar/Dropdowns.tsx @@ -44,6 +44,8 @@ export function Dropdowns(props: { const handleSystemPurposeChange = (event: any, value: SystemPurposeId | null) => value && props.conversationId && setSystemPurposeId(props.conversationId, value); + const handleOpenLLMOptions = () => chatLLMId && openLLMOptions(chatLLMId); + // filter-out hidden models const llmItems: DropdownItems = {}; for (const llm of llms) @@ -58,7 +60,8 @@ export function Dropdowns(props: { placeholder='Model' appendOption={<> - + )}