fix: should not raise error for the non relevant model starting requests
This commit is contained in:
parent
081c37bc84
commit
b5717e03fe
@ -49,7 +49,7 @@ export function useActiveModel() {
|
||||
console.debug('Init model: ', modelId)
|
||||
const path = join('models', model.name, modelId)
|
||||
const res = await initModel(path)
|
||||
if (res?.error) {
|
||||
if (res?.error && modelId === activeModel?.id) {
|
||||
const errorMessage = `${res.error}`
|
||||
alert(errorMessage)
|
||||
setStateModel(() => ({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user