Increase timeout for fetch in llamacpp
This commit is contained in:
parent
fdc8e07f86
commit
cffbe1a77b
@ -1389,7 +1389,7 @@ export default class llamacpp_extension extends AIEngine {
|
||||
method: 'POST',
|
||||
headers,
|
||||
body,
|
||||
signal: abortController?.signal,
|
||||
signal: AbortSignal.any([AbortSignal.timeout(120000), abortController?.signal]),
|
||||
})
|
||||
if (!response.ok) {
|
||||
const errorData = await response.json().catch(() => null)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user