修复logger问题

This commit is contained in:
Doiiars
2025-11-05 22:26:50 +08:00
parent 3abe20b0dd
commit bd0d241382
2 changed files with 10 additions and 17 deletions
+2 -6
View File
@@ -4,16 +4,12 @@
"""
import time
import logging
from functools import wraps
from typing import Callable, Any, Union, List, Type
from typing import Callable, Any
import requests
from openai import OpenAI
from loguru import logger
# 配置日志
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
class RetryConfig:
"""重试配置类"""