mahadewa commited on
Commit
b9eedbb
·
verified ·
1 Parent(s): c21e078

Update base_agent.py

Browse files
Files changed (1) hide show
  1. base_agent.py +1 -1
base_agent.py CHANGED
@@ -25,7 +25,7 @@ class BaseAgent:
25
  self.client = OpenAI(api_key="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")
26
  print("Client successfully initialized")
27
 
28
- def __call__(self, question: str, task_id: Optional[str] = None, **kwargs) -> str:
29
  """Process the question and return an answer."""
30
  raise NotImplementedError("Subclasses must implement this method")
31
 
 
25
  self.client = OpenAI(api_key="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")
26
  print("Client successfully initialized")
27
 
28
+ def __call__(self, question: str, **kwargs) -> str:
29
  """Process the question and return an answer."""
30
  raise NotImplementedError("Subclasses must implement this method")
31