mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-21 23:46:50 +00:00
feat: Generate a fallback report upon recursion limit hit (#838)
* finish handle_recursion_limit_fallback * fix * renmae test file * fix * doc --------- Co-authored-by: lxl0413 <lixinling2021@gmail.com>
This commit is contained in:
@@ -63,6 +63,9 @@ class Configuration:
|
||||
interrupt_before_tools: list[str] = field(
|
||||
default_factory=list
|
||||
) # List of tool names to interrupt before execution
|
||||
enable_recursion_fallback: bool = (
|
||||
True # Enable graceful fallback when recursion limit is reached
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def from_runnable_config(
|
||||
|
||||
Reference in New Issue
Block a user