refactor: route agent support settings through runtime

This commit is contained in:
jxxghp
2026-08-23 02:46:26 +08:00
parent f729a8ffe7
commit 1ede083fb2
6 changed files with 16 additions and 11 deletions
+3 -1
View File
@@ -6,7 +6,9 @@ from typing import Dict, List, Optional
from langchain_core.messages import BaseMessage, messages_from_dict, messages_to_dict
from app.runtime.config import settings
from app.runtime.settings import RuntimeSettingsCompat
settings = RuntimeSettingsCompat()
from app.application.agentdata import AgentChatPort as AgentChatOper
from app.runtime.log import logger
from app.schemas.agent import ConversationMemory