Skip to content

Commit 932c888

Browse files
authored
Correct code snippet for native output (#2271)
1 parent 3ceff58 commit 932c888

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)