Skip to content

Commit 007b0ec

Browse files
author
Pierre
committed
fix(examples): correct method call in basic agent example
Fix in examples/01_basic_agent.py:\n- Replace incorrect runCityInput(city="Tokyo")) call\n- Use correct run(CityInput(city="Tokyo")) method\n- Remove extra closing parenthesis
1 parent d3a2ea0 commit 007b0ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/01_basic_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ async def main():
6767
# Example 2: Using Tokyo
6868
print("\nExample 2: Using Tokyo")
6969
print("-" * 50)
70-
run = await get_capital_info.runCityInput(city="Tokyo"))
70+
run = await get_capital_info.run(CityInput(city="Tokyo"))
7171
print(run)
7272

7373

0 commit comments

Comments
 (0)