refactor: route agent task settings through runtime

This commit is contained in:
jxxghp
2026-08-23 02:57:19 +08:00
parent d36795ec4d
commit c5f0bd4fb7
11 changed files with 34 additions and 25 deletions
+3 -1
View File
@@ -7,7 +7,9 @@ from pydantic import BaseModel, Field, model_validator
from app.agent.tools.base import MoviePilotTool
from app.agent.tools.tags import ToolTag
from app.runtime.config import settings
from app.runtime.settings import RuntimeSettingsCompat
settings = RuntimeSettingsCompat()
from app.application.agentdata import AgentChatPort as AgentChatOper
from app.application.agentdata import AgentTaskPort as AgentTaskOper
from app.runtime.scheduling import TimerUtils