Skip to content

Commit 26828e5

Browse files
authored
Fix typo on Agent documentation
Argument name is not description but handoff_description
1 parent cdbf6b0 commit 26828e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/agents/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Agent(Generic[TContext]):
2727
"""An agent is an AI model configured with instructions, tools, guardrails, handoffs and more.
2828
2929
We strongly recommend passing `instructions`, which is the "system prompt" for the agent. In
30-
addition, you can pass `description`, which is a human-readable description of the agent, used
30+
addition, you can pass `handoff_description`, which is a human-readable description of the agent, used
3131
when the agent is used inside tools/handoffs.
3232
3333
Agents are generic on the context type. The context is a (mutable) object you create. It is

0 commit comments

Comments
 (0)