Repository navigation
Process Framework Execution stops after 49 step iterations – is there a way to increase the limit? #13145
Replies: 3 comments
|
Hi Kenneth Razo (@kenrazo), thank you for the clear report — I believe I can explain what you are seeing, and the answer depends on which SDK you are using, so I would be grateful if you could confirm whether this is .NET or Python. What you are hitting is almost certainly the Process Framework's superstep cap, not a bug in your two steps. A "superstep" is one pass of the process runtime over the pending messages, and a back-and-forth between two steps costs roughly two supersteps per round trip. The default cap is 100 supersteps, which lines up with the ~49 round trips you observed. The evidence for the cap:
If you are on Python, you can raise it directly. The public from semantic_kernel.processes.local_runtime.local_kernel_process import start
context = await start(
process,
kernel,
initial_event,
max_supersteps=500, # raise the cap to fit your workload
)If you are on .NET, I could not find a public setting for this. The public entry points
I would also suggest raising this as a feature request for a public |
|
Hi Kenneth Razo (@kenrazo), just a gentle follow-up — could you confirm whether you're on .NET or Python? The step limit behaves differently per SDK, so knowing that would let me give you the exact answer. No rush at all. |
Uh oh!
There was an error while loading. Please reload this page.
We have two steps in our process that call each other back and forth multiple times. However, after 49 iterations the execution stops automatically. Is there a configuration setting or option in the framework that allows us to override or increase this limit?
Thank you!
All reactions