refactor: server.py changes

This commit is contained in:
aran-yogesh 2026-02-10 18:18:04 -08:00
parent e7085154da
commit 4fd73e9f2d

View file

@ -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