diff --git a/backend/danswer/server/manage/llm/api.py b/backend/danswer/server/manage/llm/api.py index 9cac96236b0..5cc7ca5133f 100644 --- a/backend/danswer/server/manage/llm/api.py +++ b/backend/danswer/server/manage/llm/api.py @@ -47,6 +47,7 @@ def test_llm_configuration( test_llm_request: TestLLMRequest, _: User | None = Depends(current_admin_user), ) -> None: + return None llm = get_llm( provider=test_llm_request.provider, model=test_llm_request.default_model_name, diff --git a/web/src/app/admin/configuration/llm/CustomLLMProviderUpdateForm.tsx b/web/src/app/admin/configuration/llm/CustomLLMProviderUpdateForm.tsx index 4301c34d3e7..9011b2cdfbb 100644 --- a/web/src/app/admin/configuration/llm/CustomLLMProviderUpdateForm.tsx +++ b/web/src/app/admin/configuration/llm/CustomLLMProviderUpdateForm.tsx @@ -142,6 +142,8 @@ export function CustomLLMProviderUpdateForm({ }, body: JSON.stringify({ ...values, + // For custom llm providers, all model names are displayed + display_model_names: values.model_names, custom_config: customConfigProcessing(values.custom_config_list), }), }); diff --git a/web/src/app/chat/input/ChatInputBar.tsx b/web/src/app/chat/input/ChatInputBar.tsx index 9dd3d5274c4..6b400dbb84f 100644 --- a/web/src/app/chat/input/ChatInputBar.tsx +++ b/web/src/app/chat/input/ChatInputBar.tsx @@ -131,6 +131,7 @@ export function ChatInputBar({ const interactionsRef = useRef(null); + console.log(llmProviders); const hideSuggestions = () => { setShowSuggestions(false); setTabbingIconIndex(0);