minor: round-end newline, web error msg, autonomous subagent review, tmwebdriver troubleshoot
This commit is contained in:
@@ -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.txt,5分钟超时
|
||||
time.sleep(2)
|
||||
if os.path.exists(rp):
|
||||
|
||||
Reference in New Issue
Block a user