@@ -28,6 +28,12 @@ const (
28
28
ChatModelO1Preview2024_09_12 ChatModel = "o1-preview-2024-09-12"
29
29
ChatModelO1Mini ChatModel = "o1-mini"
30
30
ChatModelO1Mini2024_09_12 ChatModel = "o1-mini-2024-09-12"
31
+ ChatModelGPT4_1 ChatModel = "gpt-4.1"
32
+ ChatModelGPT4_1_2025_04_14 ChatModel = "gpt-4.1-2025-04-14"
33
+ ChatModelGPT4_1Mini ChatModel = "gpt-4.1-mini"
34
+ ChatModelGPT4_1Mini_2025_04_14 ChatModel = "gpt-4.1-mini-2025-04-14"
35
+ ChatModelGPT4_1Nano ChatModel = "gpt-4.1-nano"
36
+ ChatModelGPT4_1Nano_2025_04_14 ChatModel = "gpt-4.1-nano-2025-04-14"
31
37
ChatModelGPT4o ChatModel = "gpt-4o"
32
38
ChatModelGPT4o2024_11_20 ChatModel = "gpt-4o-2024-11-20"
33
39
ChatModelGPT4o2024_08_06 ChatModel = "gpt-4o-2024-08-06"
@@ -168,7 +174,6 @@ func (u ComparisonFilterValueUnion) AsBool() (v bool) {
168
174
169
175
// Returns the unmodified JSON received from the API
170
176
func (u ComparisonFilterValueUnion ) RawJSON () string { return u .JSON .raw }
171
-
172
177
func (r * ComparisonFilterValueUnion ) UnmarshalJSON (data []byte ) error {
173
178
return apijson .UnmarshalRoot (data , r )
174
179
}
@@ -686,6 +691,7 @@ type ResponseFormatJSONSchemaJSONSchemaParam struct {
686
691
func (f ResponseFormatJSONSchemaJSONSchemaParam ) IsPresent () bool {
687
692
return ! param .IsOmitted (f ) && ! f .IsNull ()
688
693
}
694
+
689
695
func (r ResponseFormatJSONSchemaJSONSchemaParam ) MarshalJSON () (data []byte , err error ) {
690
696
type shadow ResponseFormatJSONSchemaJSONSchemaParam
691
697
return param .MarshalObject (r , (* shadow )(& r ))
0 commit comments