From 5045984a2c295f0e890606b21251c08f6d39997c Mon Sep 17 00:00:00 2001 From: ATRI Date: Thu, 9 Jul 2026 09:28:06 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=20get=5Fcurre?= =?UTF-8?q?nt=5Fchat=5Fprovider=5Fid=20=E7=BC=BA=E5=B0=91=20await?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ATRI My Dear Moments/skills/atri_cf_query_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ATRI My Dear Moments/skills/atri_cf_query_plugin.py b/ATRI My Dear Moments/skills/atri_cf_query_plugin.py index 65402e7..5928a72 100644 --- a/ATRI My Dear Moments/skills/atri_cf_query_plugin.py +++ b/ATRI My Dear Moments/skills/atri_cf_query_plugin.py @@ -491,7 +491,7 @@ class CFQueryPlugin(Star): # 再用AI生成分析文本 try: analysis_prompt = _build_analysis_prompt(handle, user_info, history, analysis) - provider_id = self.context.get_current_chat_provider_id(event.unified_msg_origin) + provider_id = await self.context.get_current_chat_provider_id(event.unified_msg_origin) llm_resp = await self.context.llm_generate( chat_provider_id=provider_id, prompt=analysis_prompt,