mahadewa commited on
Commit
4d78302
·
verified ·
1 Parent(s): e28c7c0

Update base_agent.py

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