Skip to content

Commit

Permalink
fix: should queue engine set on changes
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-jan committed Nov 26, 2024
1 parent d55b1dd commit 3854d43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/inference-cortex-extension/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default class JanInferenceCortexExtension extends LocalOAIEngine {
const systemInfo = await systemInformation()
// Update run mode on settings update
if (systemInfo.gpuSetting?.run_mode !== currentMode)
this.setDefaultEngine(systemInfo)
this.queue.add(() => this.setDefaultEngine(systemInfo))
})
}

Expand Down

0 comments on commit 3854d43

Please sign in to comment.