fix(ci): use canonical agent imports in tests

This commit is contained in:
jxxghp
2026-08-22 12:22:13 +08:00
parent ed3c0541c7
commit 0ad8f73812
4 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ def test_shutdown_blocking_executors_cancels_queued_workers_and_is_idempotent():
def test_create_agent_config_uses_llm_max_iterations():
"""Agent 执行配置应把 LLM_MAX_ITERATIONS 传给 LangGraph recursion_limit。"""
from app.agent import MoviePilotAgent
from app.agent.orchestrator import MoviePilotAgent
from langchain_core.messages import AIMessage
class _FakeGraphState: