chore: first commit

This commit is contained in:
Han Xiao 2025-01-31 15:32:14 +08:00
parent f99608909c
commit 4a5fbc5859

View File

@ -276,7 +276,7 @@ async function getResponse(question: string) {
await sleep(1000);
step++;
totalStep++;
console.log(`Step ${totalStep}: Processing ${gaps.length} remaining questions`);
console.log(`Step ${totalStep}: Gap questions ${JSON.stringify(gaps)}`);
const allowReflect = gaps.length <= 1;
// update all urls with buildURLMap
const allowRead = Object.keys(allURLs).length > 0;
@ -307,6 +307,7 @@ async function getResponse(question: string) {
const action = JSON.parse(response.text());
console.log('Action:', action);
if (action.action === 'answer') {