Verify analysis recovery in browser and refresh new job status
This commit is contained in:
+2
-2
@@ -14,10 +14,10 @@ export async function getAiConfig() {
|
||||
}
|
||||
}
|
||||
|
||||
export async function analyzeSpecText(input) {
|
||||
export async function analyzeSpecText(input,{onProgress}={}) {
|
||||
const session=getToken();
|
||||
const check=()=>{if(getToken()!==session)throw new Error('Oturum değişti; kayıtlı analiz bu hesaba aktarılmadı.');};
|
||||
return runDurableAiJob('analiz',input,{check});
|
||||
return runDurableAiJob('analiz',input,{check,onProgress});
|
||||
}
|
||||
|
||||
export function analysisView(data,input) {
|
||||
|
||||
Reference in New Issue
Block a user