compressWithLLM() 调用时引用的 abortController 变量在 while 循环内才定义, 但自动压缩逻辑在 while 循环之前执行,导致运行时 ReferenceError。 修复方式:使用 state 中已有的 AbortController 或创建新的实例。
compressWithLLM() 调用时引用的 abortController 变量在 while 循环内才定义, 但自动压缩逻辑在 while 循环之前执行,导致运行时 ReferenceError。 修复方式:使用 state 中已有的 AbortController 或创建新的实例。