Skip to content
Snippets Groups Projects
Commit b194a9e8 authored by timothycarambat's avatar timothycarambat
Browse files

patch rerender

parent 74074066
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,10 @@ const LLM_DEFAULT = {
requiredConfig: [],
};
const LLMS = [LLM_DEFAULT, ...AVAILABLE_LLM_PROVIDERS].filter(
(llm) => !DISABLED_PROVIDERS.includes(llm.value)
);
export default function WorkspaceLLMSelection({
settings,
workspace,
......@@ -27,9 +31,6 @@ export default function WorkspaceLLMSelection({
const [searchQuery, setSearchQuery] = useState("");
const [searchMenuOpen, setSearchMenuOpen] = useState(false);
const searchInputRef = useRef(null);
const LLMS = [LLM_DEFAULT, ...AVAILABLE_LLM_PROVIDERS].filter(
(llm) => !DISABLED_PROVIDERS.includes(llm.value)
);
function updateLLMChoice(selection) {
setSearchQuery("");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment