From 9f603c6c3dbbc12e2cbdd15b5305642a7dc1f612 Mon Sep 17 00:00:00 2001 From: liangxinbing <1580466765@qq.com> Date: Sun, 30 Mar 2025 18:40:23 +0800 Subject: [PATCH] fix bug of type hint --- app/llm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/llm.py b/app/llm.py index 4b68e7d..87c59f6 100644 --- a/app/llm.py +++ b/app/llm.py @@ -10,7 +10,7 @@ from openai import ( OpenAIError, RateLimitError, ) -from openai.types.chat.chat_completion_message import ChatCompletionMessage +from openai.types.chat import ChatCompletion, ChatCompletionMessage from tenacity import ( retry, retry_if_exception_type,