v0.1.66 — Parallelism support
What's new
Parallelism support — three config knobs control concurrent execution:
| Knob | Config location | Default | Effect |
|---|---|---|---|
max_workers |
[roles.extract] |
4 |
Parallel extraction windows via ThreadPoolExecutor |
max_explorers |
[roles.explorer] |
4 |
Concurrent async explorer subagent calls per turn |
parallel_pipelines |
[server] |
true |
Extract + summarize in same tool turn |
- Async explore tool: changed from sync
run_sync()toasync await agent.run()for true concurrent dispatch via PydanticAIasyncio.create_task. - Adaptive prompts: sync and maintain prompts emit parallel or sequential instructions based on config. Set knobs to
1/falsefor local models (Ollama/MLX). - Removed unused
max_workersfrom[roles.summarize]— summarization refine/fold is inherently sequential.