naman1102 commited on
Commit
eba3a48
·
1 Parent(s): ae24cc7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -127,7 +127,7 @@ def finalize_node(state: AgentState) -> AgentState:
127
  return {"final_answer": llm_response.content.strip()}
128
 
129
  # ─── 4) Wrap tools in a ToolNode ───
130
- def tools_node(state: AgentState) -> AgentState:
131
  """
132
  Inspect exactly which tool‐key was set in `state` and call that function.
133
  Returns only the partial state (with the tool's outputs) so that merge_tool_output can combine it.
 
127
  return {"final_answer": llm_response.content.strip()}
128
 
129
  # ─── 4) Wrap tools in a ToolNode ───
130
+ def tool_node(state: AgentState) -> AgentState:
131
  """
132
  Inspect exactly which tool‐key was set in `state` and call that function.
133
  Returns only the partial state (with the tool's outputs) so that merge_tool_output can combine it.