Skip to content

Commit

Permalink
provider fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pablodanswer committed Nov 21, 2024
1 parent 3dac245 commit f450b14
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions backend/danswer/server/manage/llm/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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),
}),
});
Expand Down
1 change: 1 addition & 0 deletions web/src/app/chat/input/ChatInputBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ export function ChatInputBar({

const interactionsRef = useRef<HTMLDivElement | null>(null);

console.log(llmProviders);
const hideSuggestions = () => {
setShowSuggestions(false);
setTabbingIconIndex(0);
Expand Down

0 comments on commit f450b14

Please sign in to comment.