bstraehle commited on
Commit
5188ed5
1 Parent(s): 387c97d

Update rag_langgraph.py

Browse files
Files changed (1) hide show
  1. rag_langgraph.py +1 -7
rag_langgraph.py CHANGED
@@ -130,10 +130,4 @@ def run_multi_agent(topic, word_count):
130
  HumanMessage(content=topic)
131
  ]
132
  })
133
- print("##########")
134
- print(result['messages'][1].content)
135
- print("##########")
136
- print(result['messages'][2].content)
137
- print("##########")
138
- print(result['messages'][3].content)
139
- return result['messages'][result['messages'].len() - 1].content
 
130
  HumanMessage(content=topic)
131
  ]
132
  })
133
+ return result['messages'][-1].content