minor: round-end newline, web error msg, autonomous subagent review, tmwebdriver troubleshoot

This commit is contained in:
Liang Jiaqing
2026-03-12 22:24:35 +08:00
parent f52975fd95
commit 3942fe2056
4 changed files with 14 additions and 5 deletions

View File

@@ -156,7 +156,7 @@ if __name__ == '__main__':
while 'done' not in (item := dq.get(timeout=120)):
if 'next' in item and random.random() < 0.95: # 概率写一次中间结果
with open(f'{d}/output{nround}.txt', 'w', encoding='utf-8') as f: f.write(item.get('next', ''))
with open(f'{d}/output{nround}.txt', 'w', encoding='utf-8') as f: f.write(item['done'] + '\n[ROUND END]\n')
with open(f'{d}/output{nround}.txt', 'w', encoding='utf-8') as f: f.write(item['done'] + '\n\n[ROUND END]\n')
for _ in range(150): # 等reply.txt5分钟超时
time.sleep(2)
if os.path.exists(rp):