File size: 162 Bytes
63d1774
 
 
 
 
 
1
2
3
4
5
6
7
from modules.nodes.state import ChatState


def increment_tool_calls(state: ChatState):
    state["tool_calls"] = state.get("tool_calls", 0) + 1
    return state