fix
Some checks failed
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled

This commit is contained in:
2026-06-04 09:03:17 -06:00
parent cd5ab41981
commit 0b2383bb48

View File

@@ -166,14 +166,12 @@ export const useAIStore = defineStore("ai", () => {
if (!pinnedReport.value) return
const text = pinnedReport.value.analysis
mdContent.value = ""
loading.ai = true
const CHUNK = 6
const DELAY = 18
await new Promise<void>((resolve) => {
let i = 0
function step() {
if (i >= text.length) {
loading.ai = false
resolve()
return
}