cowrycode commited on
Commit
a60ca1c
·
verified ·
1 Parent(s): 17161ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ class BasicAgent:
34
  def __call__(self, question: str) -> str:
35
  print(f"Agent received question (first 50 chars): {question[:50]}...")
36
  #fixed_answer = "This is a default answer."
37
- fixed_answer = self.llamaindex_agent.run(question, ctx = context)
38
  print(f"Agent returning fixed answer: {fixed_answer}")
39
  return fixed_answer
40
 
 
34
  def __call__(self, question: str) -> str:
35
  print(f"Agent received question (first 50 chars): {question[:50]}...")
36
  #fixed_answer = "This is a default answer."
37
+ fixed_answer = self.llamaindex_agent.run(question, ctx = self.context)
38
  print(f"Agent returning fixed answer: {fixed_answer}")
39
  return fixed_answer
40