diff --git a/examples/basic/lifecycle_example.py b/examples/basic/lifecycle_example.py index 02ce449f4..a714c2c12 100644 --- a/examples/basic/lifecycle_example.py +++ b/examples/basic/lifecycle_example.py @@ -56,7 +56,7 @@ async def on_handoff( @function_tool def random_number(max: int) -> int: - """Generate a random number up to the provided max.""" + """Generate a random number from 0 to max (inclusive).""" return random.randint(0, max)