Skip to content

Commit

Permalink
使用make lint检查优化代码
Browse files Browse the repository at this point in the history
  • Loading branch information
xiabo0816 committed Apr 29, 2024
1 parent 72f97f6 commit 6ad4797
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion erniebot-agent/src/erniebot_agent/agents/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6ad4797

Please sign in to comment.