From cb3674314d3ac9db2e235b1a7851639d979bd0e6 Mon Sep 17 00:00:00 2001 From: Priyanka Punukollu Date: Thu, 26 Feb 2026 20:59:25 -0600 Subject: [PATCH] fix: route 'total net worth' to property_net_worth not wealth_portfolio_summary Remove 'total net worth' and 'everything i own' from wealth_net_worth_kws so they fall through to property_net_worth_kws which runs property tracker and shows the complete financial picture template. Add 'show my total net worth' and related phrases to property_net_worth_kws. Made-with: Cursor --- agent/graph.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/agent/graph.py b/agent/graph.py index d94dd61de..6c0ba7064 100644 --- a/agent/graph.py +++ b/agent/graph.py @@ -557,7 +557,7 @@ async def classify_node(state: AgentState) -> AgentState: "how expensive is", "city comparison", "teleport", ] wealth_net_worth_kws = [ - "total net worth", "everything i own", "net worth including portfolio", + "net worth including portfolio", "my portfolio real estate", "portfolio and real estate", ] if any(kw in query for kw in wealth_down_payment_kws): @@ -587,7 +587,9 @@ async def classify_node(state: AgentState) -> AgentState: "net worth including", "net worth with real estate", "total net worth", "total wealth", "all my assets", "real estate net worth", "net worth and real estate", - "everything i own", + "everything i own", "show my total net worth", + "complete financial picture", "net worth including my home", + "net worth including my investment", ] property_update_kws = [ "update my home", "update my property", "update my house",