Spaces:
Sleeping
Sleeping
removed debug print
Browse files
agent/agent_graph/Graph_Routes.py
CHANGED
|
@@ -2,7 +2,7 @@ from agent.agent_graph.StateTasks import AgentState
|
|
| 2 |
from langgraph.graph import StateGraph, MessagesState, START, END,state
|
| 3 |
|
| 4 |
def conv_state_check(state:AgentState):
|
| 5 |
-
print("CONV RUN ", state)
|
| 6 |
last = state["messages"][-1]
|
| 7 |
|
| 8 |
if state.get("intent"):
|
|
@@ -15,7 +15,7 @@ def conv_state_check(state:AgentState):
|
|
| 15 |
return END
|
| 16 |
|
| 17 |
def react_check(state:AgentState):
|
| 18 |
-
print("REACT RUN ", state)
|
| 19 |
|
| 20 |
last = state["messages"][-1]
|
| 21 |
|
|
|
|
| 2 |
from langgraph.graph import StateGraph, MessagesState, START, END,state
|
| 3 |
|
| 4 |
def conv_state_check(state:AgentState):
|
| 5 |
+
#print("CONV RUN ", state)
|
| 6 |
last = state["messages"][-1]
|
| 7 |
|
| 8 |
if state.get("intent"):
|
|
|
|
| 15 |
return END
|
| 16 |
|
| 17 |
def react_check(state:AgentState):
|
| 18 |
+
#print("REACT RUN ", state)
|
| 19 |
|
| 20 |
last = state["messages"][-1]
|
| 21 |
|