fix: add timeout to fetch models.dev refresh request (#3059)

This commit is contained in:
OpeOginni
2025-10-12 07:20:22 +02:00
committed by GitHub
parent 0d21164255
commit 36cf9b9922

View File

@@ -76,6 +76,7 @@ export namespace ModelsDev {
headers: {
"User-Agent": Installation.USER_AGENT,
},
signal: AbortSignal.timeout(10 * 1000),
}).catch((e) => {
log.error("Failed to fetch models.dev", {
error: e,