This commit is contained in:
SengokuCola
2025-07-06 20:17:08 +08:00
7 changed files with 27 additions and 22 deletions

View File

@@ -92,9 +92,7 @@ async def generate_reply(
"""
try:
# 获取回复器
replyer = get_replyer(
chat_stream, chat_id, model_configs=model_configs, request_type=request_type
)
replyer = get_replyer(chat_stream, chat_id, model_configs=model_configs, request_type=request_type)
if not replyer:
logger.error("[GeneratorAPI] 无法获取回复器")
return False, []