[FEATURE]: add config parameter MAX_CONCURRENT_PIPELINES
Is your feature request related to a problem? Please describe.
As discussed here https://github.com/KeygraphHQ/shannon/discussions/508
currently the project hard coded:
const MAX_CONCURRENT_PIPELINES = 5;
which may overloads local LLM, causing OOM or crashes.
Please make that setting configurable via flag or environment variable, so we can run pipelines sequentially.
Describe the solution you'd like
Please make that setting configurable via flag or environment variable, so we can run pipelines sequentially.
Which CLI mode does this apply to?
Both
Describe alternatives you've considered
No response
Additional context
No response
Here is log output of the run with local model orcarouter/Qwen3.8-Flash-Next-Uncensored-GGUF:
https://gist.githubusercontent.com/SlavikCA/bac55563d6a941520f76c061306eca50/raw/ed9865f271e6f0af98f51c1b2d57f804afae130f/gistfile1.txt
There are quite a few OUTPUT_VALIDATION_FAILED errors, such as:
Failed (OUTPUT_VALIDATION_FAILED) (120m 2s, $0.2484) And most of them said "120m".
I think, if I can run tasks sequentially, then it'll more reliable.
Hi @SlavikCA, sorry for the delayed response. Thanks for the suggestion and for sharing the logs. We’ll take a look and get back to you.
Opened #525 for this. Happy to adjust or close it if you'd rather handle it internally.