chore: fixed ci

This commit is contained in:
Richard Tang
2026-04-22 20:14:36 -07:00
parent b96ee5aaab
commit 7047ecbf46
4 changed files with 4 additions and 6 deletions
+2 -2
View File
@@ -325,16 +325,16 @@ def create_app(model: str | None = None) -> web.Application:
app.router.add_get("/api/browser/status/stream", handle_browser_status_stream)
# Register route modules
from framework.server.routes_colony_tools import register_routes as register_colony_tools_routes
from framework.server.routes_colony_workers import register_routes as register_colony_worker_routes
from framework.server.routes_config import register_routes as register_config_routes
from framework.server.routes_credentials import register_routes as register_credential_routes
from framework.server.routes_events import register_routes as register_event_routes
from framework.server.routes_execution import register_routes as register_execution_routes
from framework.server.routes_logs import register_routes as register_log_routes
from framework.server.routes_mcp import register_routes as register_mcp_routes
from framework.server.routes_messages import register_routes as register_message_routes
from framework.server.routes_prompts import register_routes as register_prompt_routes
from framework.server.routes_colony_tools import register_routes as register_colony_tools_routes
from framework.server.routes_mcp import register_routes as register_mcp_routes
from framework.server.routes_queen_tools import register_routes as register_queen_tools_routes
from framework.server.routes_queens import register_routes as register_queen_routes
from framework.server.routes_sessions import register_routes as register_session_routes
+2 -1
View File
@@ -265,9 +265,10 @@ def build_queen_tool_registry_bare() -> tuple[Any, dict[str, list[dict[str, Any]
backend process and cache the result.
"""
from pathlib import Path
import framework.agents.queen as _queen_pkg
from framework.loader.mcp_registry import MCPRegistry
from framework.loader.tool_registry import ToolRegistry
import framework.agents.queen as _queen_pkg
queen_registry = ToolRegistry()
queen_pkg_dir = Path(_queen_pkg.__file__).parent
@@ -8,7 +8,6 @@ or spawning actual subprocesses.
from __future__ import annotations
from typing import Any
from unittest.mock import MagicMock
import pytest
from aiohttp import web
@@ -14,7 +14,6 @@ from __future__ import annotations
import json
from dataclasses import dataclass, field
from pathlib import Path
from typing import Any
from unittest.mock import MagicMock
@@ -27,7 +26,6 @@ from framework.llm.provider import Tool
from framework.server import routes_queen_tools
from framework.tools.queen_lifecycle_tools import QueenPhaseState
# ---------------------------------------------------------------------------
# QueenPhaseState filter — pure unit tests
# ---------------------------------------------------------------------------