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