APRG commited on
Commit
ac691ef
·
verified ·
1 Parent(s): 20286cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ class BasicAgent:
38
  print(f"Agent received question (first 50 chars): {question[:50]}...")
39
 
40
  if len(question) > 400:
41
- question = self.summary(question)
42
 
43
  answer = self.agent.ask(prompt + question)
44
  print(f"Agent returning answer: {str(answer)}")
 
38
  print(f"Agent received question (first 50 chars): {question[:50]}...")
39
 
40
  if len(question) > 400:
41
+ question = self.summarize(question)
42
 
43
  answer = self.agent.ask(prompt + question)
44
  print(f"Agent returning answer: {str(answer)}")