Bandook01 commited on
Commit
88844fd
·
1 Parent(s): 0f1059a

fix again

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -70,11 +70,11 @@ class BasicAgent:
70
 
71
  def __call__(self, input_text: str):
72
  """Make the agent callable directly."""
73
- return self.agent.next(input_text)
74
 
75
  def run(self, input_text: str):
76
  """Alternative explicit method."""
77
- return self.agent.next(input_text)
78
 
79
  def stream(self, input_text: str):
80
  # Use `.stream_response()` for a streaming output
 
70
 
71
  def __call__(self, input_text: str):
72
  """Make the agent callable directly."""
73
+ return self.agent.run(input_text)
74
 
75
  def run(self, input_text: str):
76
  """Alternative explicit method."""
77
+ return self.agent.run(input_text)
78
 
79
  def stream(self, input_text: str):
80
  # Use `.stream_response()` for a streaming output