Fixed Python syntax (#665)
This commit is contained in:
parent
71968625cc
commit
47fa8e87b1
1 changed files with 1 additions and 1 deletions
|
|
@ -270,7 +270,7 @@ The `agent.as_tool` function is a convenience method to make it easy to turn an
|
||||||
```python
|
```python
|
||||||
@function_tool
|
@function_tool
|
||||||
async def run_my_agent() -> str:
|
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="...")
|
agent = Agent(name="My agent", instructions="...")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue