修复夸赞名单报错

This commit is contained in:
2025-03-17 05:25:15 +08:00
parent 21b695f2d4
commit 9878114376
3 changed files with 10 additions and 10 deletions

View File

@ -288,7 +288,7 @@ with contextlib.suppress(ImportError): # 优化先不做()
response = await make_chat_openai(
client=client,
model_name=model_name,
msg=get_prompt(model_name)
msg=await get_prompt(model_name)
+ [
UserMessage(
content=f"*{user_nickname}{config.marshoai_poke_suffix}"