Spaces:
Build error
Build error
Hải Huỳnh
commited on
Commit
•
6b192cb
1
Parent(s):
aafd7c4
Update react_agent_v2.py
Browse files- 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 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
|
|
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
|