From 4fd73e9f2d02b13db9086a0abef2434003a11866 Mon Sep 17 00:00:00 2001 From: aran-yogesh Date: Tue, 10 Feb 2026 18:18:04 -0800 Subject: [PATCH] refactor: server.py changes --- apps/agent/agent/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/agent/agent/server.py b/apps/agent/agent/server.py index 18fce83e..907446ab 100644 --- a/apps/agent/agent/server.py +++ b/apps/agent/agent/server.py @@ -22,6 +22,7 @@ warnings.filterwarnings("ignore", message=".*Pydantic V1.*", category=UserWarnin # Now safe to import agent (which imports LangChain modules) from deepagents import create_deep_agent +from deepagents.backends.protocol import SandboxBackendProtocol # Local import for encryption from langchain_anthropic import ChatAnthropic @@ -34,7 +35,6 @@ from .middleware import ( post_to_linear_after_model, ) from .prompt import construct_system_prompt -from deepagents.backends.protocol import SandboxBackendProtocol from .tools import commit_and_open_pr, fetch_url, http_request