From 73962581f7904acc6a0cb5b4d1ff60f9812c4079 Mon Sep 17 00:00:00 2001 From: HinGwenWoong Date: Thu, 10 Oct 2024 23:42:32 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20=E7=9B=B4=E6=92=AD=E9=97=B4=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E4=B8=BB=E6=92=AD=E7=94=9F=E6=88=90=E6=96=87=E6=A1=88?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/base/routers/llm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/base/routers/llm.py b/server/base/routers/llm.py index 24d30dc..2715f88 100644 --- a/server/base/routers/llm.py +++ b/server/base/routers/llm.py @@ -88,7 +88,7 @@ async def gen_poduct_base_prompt( # 根据 ID 获取主播信息 if streamer_info is None: - streamer_info = await get_db_streamer_info(streamer_id) + streamer_info = await get_db_streamer_info(user_id, streamer_id) streamer_info = streamer_info[0] # 将销售角色名和角色信息插入到 system prompt