Forgot to add __name__ in getLogger() don't know if it is harmless grabbing the root logger, added __name__ just to be safe

This commit is contained in:
Carlos Mesquita
2024-07-31 15:03:00 +01:00
parent 8e56a3228b
commit a931f06c47
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ class GPT:
def __init__(self, openai_client):
self._client = openai_client
self._default_model = "gpt-4o"
self._logger = getLogger()
self._logger = getLogger(__name__)
def prediction(
self,