Merge pull request #4058 from janhq/fix/timeout-issue-on-model-load

fix: disable timeout on model load
This commit is contained in:
Louis 2024-11-20 20:54:17 +07:00 committed by GitHub
commit 4f398b86bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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) => {