Implement scene-based chapter quest progression
Some checks failed
CI / verify (push) Has been cancelled
Some checks failed
CI / verify (push) Has been cancelled
This commit is contained in:
@@ -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.');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user