豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit 9d73f17

Browse files
author
Aditya Singh
committed
fix: add missing blank line between _get_model_name and _should_persist_stream_items (ruff E302)
1 parent 00e4756 commit 9d73f17

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/agents/run_internal/run_loop.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,8 @@ def _get_model_name(model: Any) -> str | None:
243243
if isinstance(model_name, str):
244244
return model_name
245245
return None
246+
247+
246248
async def _should_persist_stream_items(
247249
*,
248250
session: Session | None,

0 commit comments

Comments
 (0)