Skip to content

Commit

Permalink
Fix 直播间切换主播生成文案失败
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterH0323 committed Oct 10, 2024
1 parent efd448c commit 7396258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/base/routers/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7396258

Please sign in to comment.