Spaces:
Runtime error
Runtime error
Commit
·
e059fdb
1
Parent(s):
eaf6cbb
update agent
Browse files
app.py
CHANGED
@@ -901,12 +901,13 @@ agent_ZEROSHOT_REACT_2 = initialize_agent(tools_remote, GPTfake,
|
|
901 |
handle_parsing_errors = True,
|
902 |
max_iterations = int(os.environ["max_iterations"]),
|
903 |
early_stopping_method="generate",
|
|
|
904 |
agent_kwargs={
|
905 |
'prefix': PREFIX_2,
|
906 |
'format_instructions': FORMAT_INSTRUCTIONS_3,
|
907 |
'suffix': SUFFIX2,
|
908 |
-
'input_variables': input_variables,
|
909 |
-
|
910 |
},
|
911 |
# input_variables = input_variables,
|
912 |
# agent_kwargs={
|
|
|
901 |
handle_parsing_errors = True,
|
902 |
max_iterations = int(os.environ["max_iterations"]),
|
903 |
early_stopping_method="generate",
|
904 |
+
memory = memory2,
|
905 |
agent_kwargs={
|
906 |
'prefix': PREFIX_2,
|
907 |
'format_instructions': FORMAT_INSTRUCTIONS_3,
|
908 |
'suffix': SUFFIX2,
|
909 |
+
# 'input_variables': input_variables,
|
910 |
+
|
911 |
},
|
912 |
# input_variables = input_variables,
|
913 |
# agent_kwargs={
|