fix: disable timeout on model load

This commit is contained in:
Louis 2024-11-20 20:39:18 +07:00
parent a4d689e7c3
commit 33bfd0eed8
No known key found for this signature in database
GPG Key ID: 44FA9F4D33C37DE2

View File

@ -136,6 +136,7 @@ export default class JanInferenceCortexExtension extends LocalOAIEngine {
? InferenceEngine.cortex_llamacpp ? InferenceEngine.cortex_llamacpp
: model.engine, : model.engine,
}, },
timeout: false,
}) })
.json() .json()
.catch(async (e) => { .catch(async (e) => {