remove:两个弃用模块

This commit is contained in:
SengokuCola
2026-03-27 13:11:51 +08:00
parent 414f7ad9a0
commit 0959193808
5 changed files with 2 additions and 230 deletions

View File

@@ -19,8 +19,6 @@ from src.services import send_service
from .config import (
DIRECT_IMAGE_INPUT,
ENABLE_COGNITION_MODULE,
ENABLE_EMOTION_MODULE,
ENABLE_KNOWLEDGE_MODULE,
ENABLE_LIST_FILES,
ENABLE_MCP,
@@ -331,10 +329,6 @@ class MaisakaHeartFlowChatting:
async def _append_perception_snapshot(self) -> None:
tasks = []
if ENABLE_EMOTION_MODULE:
tasks.append(("emotion", self._llm_service.analyze_emotion(self._chat_history)))
if ENABLE_COGNITION_MODULE:
tasks.append(("cognition", self._llm_service.analyze_cognition(self._chat_history)))
if ENABLE_KNOWLEDGE_MODULE:
tasks.append(("knowledge", retrieve_relevant_knowledge(self._llm_service, self._chat_history)))