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
@@ -11,7 +11,9 @@ from urllib.parse import urlsplit
from langchain_core.messages import AIMessage, AIMessageChunk
from app.agent.llm.gateway import resolve_llm_provider_runtime
from app.runtime.config import settings
from app.runtime.settings import RuntimeSettingsCompat
settings = RuntimeSettingsCompat()
from app.runtime.log import logger
if TYPE_CHECKING: