Fixed Python syntax (#665)

This commit is contained in:
Sarmad Gulzar 2025-05-30 02:24:31 +05:00 committed by GitHub
parent 71968625cc
commit 47fa8e87b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -270,7 +270,7 @@ The `agent.as_tool` function is a convenience method to make it easy to turn an
```python
@function_tool
async def run_my_agent() -> str:
"""A tool that runs the agent with custom configs".
"""A tool that runs the agent with custom configs"""
agent = Agent(name="My agent", instructions="...")