From d6f999686012971190d3b86809cb7946d4ed2324 Mon Sep 17 00:00:00 2001 From: Justin <57725347+juskek@users.noreply.github.com> Date: Thu, 24 Aug 2023 12:05:00 +0100 Subject: [PATCH] fix(sdk): missing symbol handle_openai_response renamed to extract_output_from_response --- sdk-python/omnilogger/logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk-python/omnilogger/logger.py b/sdk-python/omnilogger/logger.py index 9581aa38..4048d511 100644 --- a/sdk-python/omnilogger/logger.py +++ b/sdk-python/omnilogger/logger.py @@ -48,7 +48,7 @@ def filter(self, record) -> bool: if "message='API response body'" in msg: try: - self.handle_openai_response(msg) + self.extract_output_from_response(msg) except json.decoder.JSONDecodeError: record.msg = "JSONDecodeError for OpenAI response: " + msg return True