Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Upload folder using huggingface_hub
Browse files
modules/nodes/conditions.py
CHANGED
|
@@ -6,7 +6,7 @@ def _check_debug_condition(state: ChatState) -> str:
|
|
| 6 |
else:
|
| 7 |
return "__end__"
|
| 8 |
|
| 9 |
-
MAX_TOOL_CALLS =
|
| 10 |
|
| 11 |
def branching_condition(state: ChatState) -> str:
|
| 12 |
# hard stop after MAX_TOOL_CALLS
|
|
|
|
| 6 |
else:
|
| 7 |
return "__end__"
|
| 8 |
|
| 9 |
+
MAX_TOOL_CALLS = 10
|
| 10 |
|
| 11 |
def branching_condition(state: ChatState) -> str:
|
| 12 |
# hard stop after MAX_TOOL_CALLS
|