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
+2 -1
View File
@@ -8,9 +8,10 @@ from unittest.mock import AsyncMock, patch
import pytest
from langchain_core.messages import AIMessage, HumanMessage
from app.agent import MoviePilotAgent, ReplyMode, _CompiledAgentBundle
from app.agent.contracts import ReplyMode
from app.agent.mcp import AgentMcpToolSpec
from app.agent.middleware.policy import AgentPolicyMiddleware
from app.agent.orchestrator import MoviePilotAgent, _CompiledAgentBundle
from app.agent.tools.catalog import (
ToolCatalogSnapshot,
ToolIdentityAmbiguousError,