Spaces:
Running
Running
Commit History
-
speed: parallel QID fetch + parallel tagging/solution push + lookups cache
Sahil KumarPrompt building (AI Tagging / LO / Verify / Solutions prep) now fetches QIDs in parallel via push_tags.fetch_many (8 workers) instead of one HTTP round-trip at a time; results stay in input order and progress is reported from the collector thread. verify_assist.fetch_solutions uses the same pool. Tagging (/tagger/start -> api_tagger.run_automation) and solution writing (/solutions/push -> solution_assist.push_rows) now respect worker counts: run_automation finally uses the 1-5 UI stepper it was already handed, with all counters/callbacks on the collector thread so Excel status writes stay serialized; push_rows runs 5 workers. TOC caches in push_tags are self-locked (double-checked in children/_nav_entries) so concurrent resolve_ids is safe. CLI push_tags.main() runs in parallel too (--workers N, default 5) with the PUSH_LOG writes and prints guarded. make_template.lookups_options caches per QB token so /tag/prep + /tag/apply stop double-fetching /lookups.e1428c4