Skip to content

Commit b18e888

Browse files
authored
Apply suggestions from code review
1 parent ff93567 commit b18e888

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

docs/agents.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ agent = Agent(
157157
tools=[get_weather],
158158
model_settings=ModelSettings(tool_choice="get_weather")
159159
)
160-
161160
```
162161

163162
## Tool Use Behavior
@@ -207,7 +206,6 @@ agent = Agent(
207206
- `ToolsToFinalOutputFunction`: A custom function that processes tool results and decides whether to stop or continue with the LLM.
208207

209208
```python
210-
211209
from agents import Agent, Runner, function_tool, FunctionToolResult, RunContextWrapper
212210
from agents.agent import ToolsToFinalOutputResult
213211
from typing import List, Any
@@ -239,7 +237,6 @@ agent = Agent(
239237
tools=[get_weather],
240238
tool_use_behavior=custom_tool_handler
241239
)
242-
243240
```
244241

245242
!!! note

0 commit comments

Comments
 (0)