修复私聊PFC

This commit is contained in:
114514
2025-04-23 23:48:42 +08:00
parent 7281c13a12
commit 2732f40714
13 changed files with 681 additions and 282 deletions

View File

@@ -19,8 +19,7 @@ class KnowledgeFetcher:
request_type="knowledge_fetch",
)
@staticmethod
async def fetch(query: str, chat_history: List[Message]) -> Tuple[str, str]:
async def fetch(self, query: str, chat_history: List[Message]) -> Tuple[str, str]:
"""获取相关知识
Args: