Skip to content

Commit 798b3cd

Browse files
minhduc0711KRRT7
authored andcommitted
Correct code snippet for native output (pydantic#2271)
1 parent 95ab482 commit 798b3cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/output.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ agent = Agent(
325325
'openai:gpt-4o',
326326
output_type=NativeOutput(
327327
[Fruit, Vehicle], # (1)!
328-
name='Fruit or vehicle',
328+
name='Fruit_or_vehicle',
329329
description='Return a fruit or vehicle.'
330330
),
331331
)

0 commit comments

Comments
 (0)