MCPcopy Create free account
hub / github.com/RUC-NLPIR/WebThinker / track_progress

Function track_progress

scripts/run_direct_gen.py:207–210  ·  view source on GitHub ↗
(task)

Source from the content-addressed store, hash-verified

205 with tqdm(total=len(tasks)) as pbar:
206 # Create a progress tracking callback
207 async def track_progress(task):
208 result = await task
209 pbar.update(1)
210 return result
211
212 # Wrap each task with the progress tracker
213 tracked_tasks = [track_progress(task) for task in tasks]

Callers 1

generate_all_responsesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected