fix: whisper checker;fix: img read (#3813)

* fix: img read

* fix: whisper checker

* perf: dev doc

* perf: dev doc

* remove invalid code
This commit is contained in:
Archer
2025-02-18 10:08:25 +08:00
committed by GitHub
parent 4d20274a97
commit b14674cc6f
16 changed files with 75 additions and 95 deletions

View File

@@ -197,7 +197,11 @@ export const loadRequestMessages = async ({
addLog.info(`Filter invalid image: ${imgUrl}`);
return;
}
} catch (error) {
} catch (error: any) {
if (error?.response?.status === 405) {
return item;
}
addLog.warn(`Filter invalid image: ${imgUrl}`, { error });
return;
}
}