Skip to content

Commit 1da0075

Browse files
Update docs/tools.md
Co-authored-by: pakrym-oai <[email protected]>
1 parent be58c58 commit 1da0075

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ async def main():
261261

262262
### Customizing tool-agents
263263

264-
The `agent.as_tool` function is a convenience method to make it easy to turn an agent into a tool. It doesn't support all configuration though; for example, you can't set `max_turns`. For advanced use cases, it's very easy to configure it yourself:
264+
The `agent.as_tool` function is a convenience method to make it easy to turn an agent into a tool. It doesn't support all configuration though; for example, you can't set `max_turns`. For advanced use cases, use `Runner.run` directly in your tool implementation:
265265

266266
```python
267267
@function_tool

0 commit comments

Comments
 (0)