This repository was archived by the owner on Mar 7, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +21
-21
lines changed
src/components/Settings/LLMSettings Expand file tree Collapse file tree 2 files changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -49,28 +49,28 @@ const LLMSelectOrButton: React.FC<LLMSelectOrButtonProps> = ({
4949
5050 return (
5151 < div className = "text-left" >
52- { llmConfigs . length === 0 ? (
53- < div className = "flex items-center" >
52+ < div className = "flex items-center" >
53+ { llmConfigs . length === 0 ? (
5454 < Button className = "bg-transparent text-primary hover:bg-slate-700" onClick = { openLLMSettings } >
5555 Attach LLM
5656 </ Button >
57- < FiRefreshCw onClick = { refreshLLMConfigs } className = "cursor-pointer text-xs text-gray-400" />
58- </ div >
59- ) : (
60- < Select value = { selectedLLM } onValueChange = { ( value ) => handleLLMChange ( value ) } >
61- < SelectTrigger className = "w-32 border border-solid border-muted-foreground" >
62- < SelectValue placeholder = "Select LLM" / >
63- </ SelectTrigger >
64- < SelectContent >
65- { llmConfigs . map ( ( llm ) => (
66- < SelectItem key = { llm . modelName } value = { llm . modelName } >
67- { llm . modelName }
68- </ SelectItem >
69- ) ) }
70- </ SelectContent >
71- </ Select >
72- ) }
73- < SettingsModal isOpen = { isSettingsModalOpen } onClose = { closeModal } initialTab = { activeTab } / >
57+ ) : (
58+ < Select value = { selectedLLM } onValueChange = { ( value ) => handleLLMChange ( value ) } >
59+ < SelectTrigger className = "w-32 border border-solid border-muted-foreground" >
60+ < SelectValue placeholder = "Select LLM" / >
61+ </ SelectTrigger >
62+ < SelectContent >
63+ { llmConfigs . map ( ( llm ) => (
64+ < SelectItem key = { llm . modelName } value = { llm . modelName } >
65+ { llm . modelName }
66+ </ SelectItem >
67+ ) ) }
68+ </ SelectContent >
69+ </ Select >
70+ ) }
71+ < FiRefreshCw onClick = { refreshLLMConfigs } className = "ml-1 cursor-pointer text-xs text-gray-400" / >
72+ < SettingsModal isOpen = { isSettingsModalOpen } onClose = { closeModal } initialTab = { activeTab } />
73+ </ div >
7474 </ div >
7575 )
7676}
You can’t perform that action at this time.
0 commit comments