chore: disable turn off local engine llamacpp (#4660)
This commit is contained in:
parent
1927262b62
commit
929fc579ec
@ -64,10 +64,12 @@ const LocalEngineItems = ({ engine }: { engine: InferenceEngine }) => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex items-center gap-x-3">
|
<div className="flex items-center gap-x-3">
|
||||||
<Switch
|
{engine !== InferenceEngine.cortex_llamacpp && (
|
||||||
checked={!showSettingActiveLocalEngine.includes(engine)}
|
<Switch
|
||||||
onChange={() => onSwitchChange(engine)}
|
checked={!showSettingActiveLocalEngine.includes(engine)}
|
||||||
/>
|
onChange={() => onSwitchChange(engine)}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
<Button
|
<Button
|
||||||
theme="icon"
|
theme="icon"
|
||||||
variant="outline"
|
variant="outline"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user