Skip to content

Commit 0a8f55c

Browse files
authored
Fix docstring typo and possessive formatting in lifecycle.py
1 parent e197187 commit 0a8f55c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/agents/lifecycle.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ async def on_handoff(
8383
agent: TAgent,
8484
source: TAgent,
8585
) -> None:
86-
"""Called when the agent is being handed off to. The `source` is the agent that is handing
86+
"""Called when the agent is being handed off. The `source` is the agent that is handing
8787
off to this agent."""
8888
pass
8989

@@ -111,4 +111,4 @@ async def on_tool_end(
111111
"""Run hooks when using `Agent`."""
112112

113113
AgentHooks = AgentHooksBase[TContext, Agent]
114-
"""Agent hooks for `Agent`s."""
114+
"""Agent hooks for `Agent`'s."""

0 commit comments

Comments
 (0)