Spaces:
Runtime error
Runtime error
Commit
·
be68c2c
1
Parent(s):
e4cdf4d
correct bug
Browse files
app.py
CHANGED
@@ -412,13 +412,14 @@ agent = initialize_agent(tools, llm,
|
|
412 |
'prefix': PREFIX,
|
413 |
'format_instructions': FORMAT_INSTRUCTIONS,
|
414 |
'suffix': SUFFIX,
|
415 |
-
'
|
416 |
},
|
|
|
417 |
# agent_kwargs={
|
418 |
# 'prompt': prompt,
|
419 |
# }
|
420 |
|
421 |
-
|
422 |
|
423 |
print(agent.agent.llm_chain.prompt.template)
|
424 |
# print(agent.agent.llm_chain.prompt)
|
|
|
412 |
'prefix': PREFIX,
|
413 |
'format_instructions': FORMAT_INSTRUCTIONS,
|
414 |
'suffix': SUFFIX,
|
415 |
+
'input_variables': input_variables
|
416 |
},
|
417 |
+
input_variables = input_variables,
|
418 |
# agent_kwargs={
|
419 |
# 'prompt': prompt,
|
420 |
# }
|
421 |
|
422 |
+
)
|
423 |
|
424 |
print(agent.agent.llm_chain.prompt.template)
|
425 |
# print(agent.agent.llm_chain.prompt)
|