langgraph
langgraph copied to clipboard
Add trace parameter to init method
Currently, the trace parameter in ToolExecutor is fixed at False. This means that if a node in the graph uses this, the trace record of that node in LangSmith is always independent of the entire graph. To allow for flexible tracing configuration, I added a trace parameter to the ToolExecutor.__init__() method.