refactor: route agent llm settings through runtime

This commit is contained in:
jxxghp
2026-08-23 02:49:00 +08:00
parent 1ede083fb2
commit 41ee5aacdc
8 changed files with 24 additions and 17 deletions
+3 -1
View File
@@ -17,7 +17,9 @@ from app.agent.policy.sanitizer import (
)
from app.agent.tools.tags import ToolTag
from app.chain import ChainBase
from app.runtime.config import settings
from app.runtime.settings import RuntimeSettingsCompat
settings = RuntimeSettingsCompat()
from app.application.messaging.agent import matches_channel_admin
from app.runtime.extensions.service_config import ServiceConfigHelper
from app.runtime.log import logger