Hải Huỳnh commited on
Commit
6b192cb
1 Parent(s): aafd7c4

Update react_agent_v2.py

Browse files
Files changed (1) hide show
  1. react_agent_v2.py +9 -9
react_agent_v2.py CHANGED
@@ -100,12 +100,12 @@ def get_react_agent(memory):
100
  # result = agent_executor.invoke(question)
101
  # print(result)
102
 
103
- if __name__ == "__main__":
104
- while True:
105
- try:
106
- question = input("> ")
107
- result = agent_executor.invoke({
108
- "input": question
109
- })
110
- except:
111
- break
 
100
  # result = agent_executor.invoke(question)
101
  # print(result)
102
 
103
+ # if __name__ == "__main__":
104
+ # while True:
105
+ # try:
106
+ # question = input("> ")
107
+ # result = agent_executor.invoke({
108
+ # "input": question
109
+ # })
110
+ # except:
111
+ # break