From f85ddaf1275930ae64ee7fc560556527fef06640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E6=BD=AE?= Date: Tue, 16 Jun 2026 15:47:52 +0800 Subject: [PATCH] fix: remove stray sympy import causing startup failure The unused 'from sympy.printing.cxx import none' was accidentally added by IDE autocomplete. sympy is not installed in the image, so importing agent/deep_assistant.py raised ModuleNotFoundError and the API server crash-looped on startup. Co-Authored-By: Claude Opus 4.8 --- agent/deep_assistant.py | 1 - 1 file changed, 1 deletion(-) diff --git a/agent/deep_assistant.py b/agent/deep_assistant.py index b6983eb..cf0168c 100644 --- a/agent/deep_assistant.py +++ b/agent/deep_assistant.py @@ -18,7 +18,6 @@ from langgraph.store.base import BaseStore from langchain.agents.middleware import SummarizationMiddleware as LangchainSummarizationMiddleware from .summarization_middleware import SummarizationMiddleware from langchain_mcp_adapters.client import MultiServerMCPClient -from sympy.printing.cxx import none from utils.fastapi_utils import detect_provider, sanitize_model_kwargs from .guideline_middleware import GuidelineMiddleware from .tool_output_length_middleware import ToolOutputLengthMiddleware