bstraehle commited on
Commit
5210223
1 Parent(s): 5644512

Update rag_langgraph.py

Browse files
Files changed (1) hide show
  1. rag_langgraph.py +4 -4
rag_langgraph.py CHANGED
@@ -125,10 +125,10 @@ def run_multi_agent(topic, word_count):
125
  print("###")
126
  print(result)
127
  print("###")
128
- print(result.messages)
129
  print("###")
130
- print(result.messages[1])
131
  print("###")
132
- print(result.messages[1]).content
133
  print("###")
134
- return result
 
125
  print("###")
126
  print(result)
127
  print("###")
128
+ print(result['messages'])
129
  print("###")
130
+ print(result['messages'][1])
131
  print("###")
132
+ print(result['messages'][1].content)
133
  print("###")
134
+ return result['messages'][1].content