@@ -6152,8 +6152,8 @@ def llm(messages: list[ModelMessage], info: AgentInfo) -> ModelResponse:
61526152 return ModelResponse (parts = [TextPart ('' )])
61536153
61546154 agent = Agent (
6155- FunctionModel (llm ),
6156- output_type = NativeOutput ([bool ], name = 'native_output_name' , description = 'native_output_description' )
6155+ FunctionModel (llm ),
6156+ output_type = NativeOutput ([bool ], name = 'native_output_name' , description = 'native_output_description' ),
61576157 )
61586158 assert agent .output_json_schema
61596159
@@ -6163,8 +6163,8 @@ def llm(messages: list[ModelMessage], info: AgentInfo) -> ModelResponse:
61636163 return ModelResponse (parts = [TextPart ('' )])
61646164
61656165 agent = Agent (
6166- FunctionModel (llm ),
6167- output_type = PromptedOutput ([bool ], name = 'prompted_output_name' , description = 'prompted_output_description' )
6166+ FunctionModel (llm ),
6167+ output_type = PromptedOutput ([bool ], name = 'prompted_output_name' , description = 'prompted_output_description' ),
61686168 )
61696169 assert agent .output_json_schema
61706170
@@ -6176,11 +6176,8 @@ def llm(messages: list[ModelMessage], info: AgentInfo) -> ModelResponse:
61766176 HumanDict = StructuredDict (
61776177 {
61786178 'type' : 'object' ,
6179- 'properties' : {
6180- 'name' : {'type' : 'string' },
6181- 'age' : {'type' : 'integer' }
6182- },
6183- 'required' : ['name' , 'age' ]
6179+ 'properties' : {'name' : {'type' : 'string' }, 'age' : {'type' : 'integer' }},
6180+ 'required' : ['name' , 'age' ],
61846181 },
61856182 name = 'Human' ,
61866183 description = 'A human with a name and age' ,
0 commit comments