sampsong commited on
Commit
d5efc05
·
1 Parent(s): 27ab086
Files changed (1) hide show
  1. Agents/agent.py +3 -2
Agents/agent.py CHANGED
@@ -105,8 +105,9 @@ def build_graph(provider: str="groq"):
105
  '''
106
  builder = StateGraph(MessagesState)
107
  print(f"running builder ")
108
- print(f"DirectPath = {os.getenv("DirectPath")} ")
109
- directPath = bool(os.getenv("DirectPath"))
 
110
  #builder.add_node("retriever",retriever)
111
  builder.add_node("assistant",assistant)
112
  builder.add_node("tools", ToolNode(tools))
 
105
  '''
106
  builder = StateGraph(MessagesState)
107
  print(f"running builder ")
108
+ directPath = os.getenv("DirectPath")
109
+ print(f"DirectPath = {directPath} ")
110
+ directPath = bool(directPath)
111
  #builder.add_node("retriever",retriever)
112
  builder.add_node("assistant",assistant)
113
  builder.add_node("tools", ToolNode(tools))