Closed
Description
System Info
electron 32.2.7
windows 10 19045.4717
Environment/Platform
- Website/web-app
- Browser extension
- Server-side (e.g., Node.js, Deno, Bun)
- Desktop app (e.g., Electron)
- Other (e.g., VSCode extension)
Description
export class ProxyCache {
constructor(
) {
}
async match(request: string): Promise<FileResponse | undefined> {
// request maybe undefined in model request
}}
env.customCache=new ProxyCache()
in 3.3.3
worked in 3.4.0
will receive undefined
not all undefined, But it's an additional undefined call
Reproduction
- use customCache
- request
Xenova/bge-base-zh-v1.5
- match method receive undefined and throw error