fix typo in agent_lifecycle_example.py

This commit is contained in:
CCM 2025-03-14 19:14:26 +08:00 committed by GitHub
parent cdbf6b0514
commit 8540b1e65b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -74,7 +74,7 @@ multiply_agent = Agent(
start_agent = Agent( start_agent = Agent(
name="Start Agent", name="Start Agent",
instructions="Generate a random number. If it's even, stop. If it's odd, hand off to the multipler agent.", instructions="Generate a random number. If it's even, stop. If it's odd, hand off to the multiply agent.",
tools=[random_number], tools=[random_number],
output_type=FinalResult, output_type=FinalResult,
handoffs=[multiply_agent], handoffs=[multiply_agent],