Update base_agent.py
Browse files- base_agent.py +1 -0
base_agent.py
CHANGED
|
@@ -23,6 +23,7 @@ class BaseAgent:
|
|
| 23 |
self.model = model
|
| 24 |
print("Init Client")
|
| 25 |
self.client = OpenAI(api_key="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")
|
|
|
|
| 26 |
|
| 27 |
def __call__(self, question: str, task_id: Optional[str] = None, **kwargs) -> str:
|
| 28 |
"""Process the question and return an answer."""
|
|
|
|
| 23 |
self.model = model
|
| 24 |
print("Init Client")
|
| 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."""
|