mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-08-06 17:38:35 +00:00
Update web tool config test imports
This commit is contained in:
parent
cc7e0d7244
commit
b8c39da238
@ -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
|
||||||
|
|||||||
@ -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,
|
||||||
|
|||||||
@ -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(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user