Update app.py
Browse files
app.py
CHANGED
|
@@ -74,7 +74,14 @@ prompt = PromptTemplate.from_template(
|
|
| 74 |
{chat_history}
|
| 75 |
Human: {input}
|
| 76 |
Assistant: Let's proceed step by step:
|
| 77 |
-
{agent_scratchpad}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
)
|
| 79 |
|
| 80 |
agent = create_react_agent(local_llm, tools, prompt)
|
|
|
|
| 74 |
{chat_history}
|
| 75 |
Human: {input}
|
| 76 |
Assistant: Let's proceed step by step:
|
| 77 |
+
{agent_scratchpad}
|
| 78 |
+
|
| 79 |
+
Tools available:
|
| 80 |
+
{tools}
|
| 81 |
+
|
| 82 |
+
Tool names:
|
| 83 |
+
{tool_names}
|
| 84 |
+
"""
|
| 85 |
)
|
| 86 |
|
| 87 |
agent = create_react_agent(local_llm, tools, prompt)
|