Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -269,7 +269,7 @@ class BasicAgent:
|
|
269 |
for name, func in self.tools.items()
|
270 |
)
|
271 |
|
272 |
-
self.prompt_template = PromptTemplate.from_template(
|
273 |
self.chain = LLMChain(prompt=self.prompt_template, llm=self.llm)
|
274 |
|
275 |
def _cache_key(self, tool_name, args, kwargs):
|
|
|
269 |
for name, func in self.tools.items()
|
270 |
)
|
271 |
|
272 |
+
self.prompt_template = PromptTemplate.from_template(tools_desc)
|
273 |
self.chain = LLMChain(prompt=self.prompt_template, llm=self.llm)
|
274 |
|
275 |
def _cache_key(self, tool_name, args, kwargs):
|