添加音频代理

This commit is contained in:
咕谷酱
2025-09-23 03:32:30 +08:00
parent 884a4cad2c
commit 7d6eeae073
3 changed files with 8 additions and 11 deletions

View File

@@ -5,7 +5,6 @@
from __future__ import annotations
from fastapi import HTTPException
import httpx
from loguru import logger
@@ -123,7 +122,6 @@ class AudioProxyService:
return audio_data, content_type
def get_audio_proxy_service(redis_client: redis.Redis) -> AudioProxyService:
"""获取音频代理服务实例"""
# 每次创建新实例,避免全局状态