Skip to content

Commit cbfcabb

Browse files
authored
Fix lint errors and update branch
Resolved all CI linting errors in lifecycle.py to comply with project style guidelines and unblock the failing lint check in CI.
1 parent 98ccfa1 commit cbfcabb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/agents/lifecycle.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ class RunHooksBase(Generic[TContext, TAgent]):
1717

1818
async def on_agent_start(self, context: RunContextWrapper[TContext], agent: TAgent) -> None:
1919
"""Called before the agent is invoked. Called each time the current agent changes."""
20-
pass
21-
20+
pass
21+
2222
async def on_llm_start(
2323
self,
2424
context: RunContextWrapper[TContext],
@@ -105,7 +105,7 @@ async def on_llm_end(
105105
response: ModelResponse,
106106
) -> None:
107107
"""Called immediately after the agent receives the LLM response."""
108-
pass
108+
pass
109109

110110
async def on_tool_start(
111111
self,

0 commit comments

Comments
 (0)