Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/enrichment_agent/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def route_after_agent(
# it ensures the system doesn't crash but instead tries to recover by calling the agent model again.
if not isinstance(last_message, AIMessage):
return "call_agent_model"
# If the "Into" tool was called, then the model provided its extraction output. Reflect on the result
# If the "Info" tool was called, then the model provided its extraction output. Reflect on the result
if last_message.tool_calls and last_message.tool_calls[0]["name"] == "Info":
return "reflect"
# The last message is a tool call that is not "Info" (extraction output)
Expand Down