fix: active model when start server

This commit is contained in:
Faisal Amir 2024-01-23 10:57:46 +07:00
parent 7d511cfbb0
commit d6242def98

View File

@ -108,9 +108,7 @@ const LocalServerScreen = () => {
window.core?.api?.stopServer()
setServerEnabled(false)
} else {
if (!activeModel) {
startModel(String(selectedModel?.id))
}
startModel(String(selectedModel?.id))
window.core?.api?.startServer({
host,
port,