diff --git a/app/endpoints/pipeline_endpoint.py b/app/endpoints/pipeline_endpoint.py index 86531f4..a2b7a2a 100644 --- a/app/endpoints/pipeline_endpoint.py +++ b/app/endpoints/pipeline_endpoint.py @@ -1107,7 +1107,7 @@ async def handle_add_friend_notice_async(request: Request,token_id,app_id, wxid, logger.info("发送对话 %s",input_message) callback_to_user=to_contact_wxid - res=await gpt_client_async(messages_to_send,wxid,callback_to_user) + res=await gpt_client_async(request,messages_to_send,wxid,callback_to_user) reply_content=remove_markdown_symbol(res["choices"][0]["message"]["content"]) #保存好友信息