mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
fix(ci): use canonical agent imports in tests
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user