We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2bff047 + 64150c8 commit d0a7b00Copy full SHA for d0a7b00
src/agents/agent.py
@@ -27,8 +27,8 @@ class Agent(Generic[TContext]):
27
"""An agent is an AI model configured with instructions, tools, guardrails, handoffs and more.
28
29
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
31
- when the agent is used inside tools/handoffs.
+ addition, you can pass `handoff_description`, which is a human-readable description of the
+ agent, used when the agent is used inside tools/handoffs.
32
33
Agents are generic on the context type. The context is a (mutable) object you create. It is
34
passed to tool functions, handoffs, guardrails, etc.
0 commit comments