adriansanz commited on
Commit
dbf44cf
·
verified ·
1 Parent(s): 3e23945

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(prompt_str)
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):