Implement scene-based chapter quest progression
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
2026-04-08 11:58:47 +08:00
parent 9d2fc9e4b8
commit bd9fdcbe31
170 changed files with 18259 additions and 1049 deletions

View File

@@ -46,7 +46,11 @@ function logLlmDebug(title: string, payload: unknown) {
}
function normalizeLlmError(error: unknown): never {
if (error instanceof DOMException && error.name === 'AbortError') {
if (
typeof DOMException !== 'undefined'
&& error instanceof DOMException
&& error.name === 'AbortError'
) {
throw new LlmTimeoutError('The LLM request timed out. Please check the network or endpoint.');
}