Skip to content

Commit

Permalink
fix: active model when start server
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur committed Jan 23, 2024
1 parent 7d511cf commit d6242de
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions web/screens/LocalServer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d6242de

Please sign in to comment.