From f842fa81331c3176cafe452cc6f47d8b55faf4cf Mon Sep 17 00:00:00 2001 From: Paillat Date: Wed, 2 Aug 2023 20:16:55 +0200 Subject: [PATCH] fix(openaicaller.py): fix import statement for num_tokens_from_messages to use the correct path --- src/utils/openaicaller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/openaicaller.py b/src/utils/openaicaller.py index df5ce97..ad98161 100644 --- a/src/utils/openaicaller.py +++ b/src/utils/openaicaller.py @@ -32,7 +32,7 @@ from openai.error import ( AuthenticationError, ServiceUnavailableError, ) -from utils.tokens import num_tokens_from_messages +from src.utils.tokens import num_tokens_from_messages class bcolors: