|
@@ -450,7 +450,7 @@ async def ai_chat_text_async(request: Request,token_id, app_id, wxid, msg_data, |
|
|
} |
|
|
} |
|
|
reply_content = remove_markdown_symbol(res["choices"][0]["message"]["content"]) |
|
|
reply_content = remove_markdown_symbol(res["choices"][0]["message"]["content"]) |
|
|
|
|
|
|
|
|
if callback_to_user not in 'wx_nBGqh6_Rw6pW8KXg0AudW': |
|
|
|
|
|
|
|
|
if callback_to_user not in 'wxid_mesh33pw13e721': |
|
|
logger.info(f'{callback_to_user} 不发送到微信有关{msg_content}的AI回复到微信') |
|
|
logger.info(f'{callback_to_user} 不发送到微信有关{msg_content}的AI回复到微信') |
|
|
await request.app.state.gewe_service.post_text_async(token_id, app_id, callback_to_user, reply_content) |
|
|
await request.app.state.gewe_service.post_text_async(token_id, app_id, callback_to_user, reply_content) |
|
|
|
|
|
|
|
|