From 6ad47979c86b9ad61290830adb37e57f20ce0464 Mon Sep 17 00:00:00 2001 From: xiabo Date: Mon, 29 Apr 2024 10:00:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8`make=20lint`=E6=A3=80?= =?UTF-8?q?=E6=9F=A5=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- erniebot-agent/src/erniebot_agent/agents/agent.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/erniebot-agent/src/erniebot_agent/agents/agent.py b/erniebot-agent/src/erniebot_agent/agents/agent.py index c4428d1f..643ac53d 100644 --- a/erniebot-agent/src/erniebot_agent/agents/agent.py +++ b/erniebot-agent/src/erniebot_agent/agents/agent.py @@ -299,7 +299,8 @@ async def _run_stream( prompt and optionally accompanying files. """ if False: - # This conditional block is strictly for static type-checking purposes (e.g., mypy) and will not be executed. + # This conditional block is strictly for static type-checking purposes (e.g., mypy) + # and will not be executed. only_for_mypy_type_check: Tuple[AgentStep, List[Message]] = (DEFAULT_FINISH_STEP, []) yield only_for_mypy_type_check