Spaces:
Runtime error
Runtime error
Commit
·
36b2f88
1
Parent(s):
fc18035
correct prompt
Browse files
app.py
CHANGED
|
@@ -412,7 +412,10 @@ agent = initialize_agent(tools, llm,
|
|
| 412 |
# 'format_instructions': FORMAT_INSTRUCTIONS,
|
| 413 |
# 'suffix': SUFFIX
|
| 414 |
# },
|
| 415 |
-
|
|
|
|
|
|
|
|
|
|
| 416 |
)
|
| 417 |
|
| 418 |
print(agent.agent.llm_chain.prompt.template)
|
|
|
|
| 412 |
# 'format_instructions': FORMAT_INSTRUCTIONS,
|
| 413 |
# 'suffix': SUFFIX
|
| 414 |
# },
|
| 415 |
+
agent_kwargs={
|
| 416 |
+
'prompt': prompt,
|
| 417 |
+
}
|
| 418 |
+
|
| 419 |
)
|
| 420 |
|
| 421 |
print(agent.agent.llm_chain.prompt.template)
|