Skip to content

Commit f337820

Browse files
fix bad syntax in example
1 parent 5265211 commit f337820

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/models/openai.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ model = OpenAIResponsesModel('gpt-5') # (1)!
164164
agent = Agent(model)
165165

166166
@agent.tool_plain(text_format='text') # (2)!
167-
def freeform_tool(sql: str) -> ...
167+
def freeform_tool(sql: str): ...
168168
```
169169

170170
1. The GPT-5 family (`gpt-5`, `gpt-5-mini`, `gpt-5-nano`) all support freeform function calling.

0 commit comments

Comments
 (0)