Update web tool config test imports

This commit is contained in:
chengyongru 2026-06-15 15:41:10 +08:00
parent cc7e0d7244
commit b8c39da238
3 changed files with 3 additions and 6 deletions

View File

@ -13,9 +13,8 @@ import pytest
from nanobot.agent.loop import AgentLoop from nanobot.agent.loop import AgentLoop
from nanobot.agent.subagent import SubagentManager, SubagentStatus from nanobot.agent.subagent import SubagentManager, SubagentStatus
from nanobot.agent.tools.search import FindFilesTool, GrepTool from nanobot.agent.tools.search import FindFilesTool, GrepTool
from nanobot.agent.tools.web import WebSearchTool from nanobot.agent.tools.web import WebSearchConfig, WebSearchTool
from nanobot.bus.queue import MessageBus from nanobot.bus.queue import MessageBus
from nanobot.config.schema import WebSearchConfig
@pytest.mark.asyncio @pytest.mark.asyncio

View File

@ -10,8 +10,7 @@ import httpx
import pytest import pytest
from nanobot.agent.tools import web as web_module from nanobot.agent.tools import web as web_module
from nanobot.agent.tools.web import WebFetchTool from nanobot.agent.tools.web import WebFetchConfig, WebFetchTool
from nanobot.config.schema import WebFetchConfig
from nanobot.security.workspace_access import ( from nanobot.security.workspace_access import (
bind_workspace_scope, bind_workspace_scope,
build_workspace_scope, build_workspace_scope,

View File

@ -3,8 +3,7 @@
import httpx import httpx
import pytest import pytest
from nanobot.agent.tools.web import WebSearchTool from nanobot.agent.tools.web import WebSearchConfig, WebSearchTool
from nanobot.config.schema import WebSearchConfig
def _tool( def _tool(