@@ -3856,15 +3856,12 @@ type ResponseFunctionWebSearchActionUnion struct {
3856
3856
Query string `json:"query"`
3857
3857
// Any of "search", "open_page", "find".
3858
3858
Type string `json:"type"`
3859
- // This field is from variant [ResponseFunctionWebSearchActionSearch].
3860
- Domains []string `json:"domains"`
3861
- URL string `json:"url"`
3859
+ URL string `json:"url"`
3862
3860
// This field is from variant [ResponseFunctionWebSearchActionFind].
3863
3861
Pattern string `json:"pattern"`
3864
3862
JSON struct {
3865
3863
Query respjson.Field
3866
3864
Type respjson.Field
3867
- Domains respjson.Field
3868
3865
URL respjson.Field
3869
3866
Pattern respjson.Field
3870
3867
raw string
@@ -3931,13 +3928,10 @@ type ResponseFunctionWebSearchActionSearch struct {
3931
3928
Query string `json:"query,required"`
3932
3929
// The action type.
3933
3930
Type constant.Search `json:"type,required"`
3934
- // Domains to restrict the search or domains where results were found.
3935
- Domains []string `json:"domains"`
3936
3931
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
3937
3932
JSON struct {
3938
3933
Query respjson.Field
3939
3934
Type respjson.Field
3940
- Domains respjson.Field
3941
3935
ExtraFields map [string ]respjson.Field
3942
3936
raw string
3943
3937
} `json:"-"`
@@ -4070,14 +4064,6 @@ func (u ResponseFunctionWebSearchActionUnionParam) GetQuery() *string {
4070
4064
return nil
4071
4065
}
4072
4066
4073
- // Returns a pointer to the underlying variant's property, if present.
4074
- func (u ResponseFunctionWebSearchActionUnionParam ) GetDomains () []string {
4075
- if vt := u .OfSearch ; vt != nil {
4076
- return vt .Domains
4077
- }
4078
- return nil
4079
- }
4080
-
4081
4067
// Returns a pointer to the underlying variant's property, if present.
4082
4068
func (u ResponseFunctionWebSearchActionUnionParam ) GetPattern () * string {
4083
4069
if vt := u .OfFind ; vt != nil {
@@ -4123,8 +4109,6 @@ func init() {
4123
4109
type ResponseFunctionWebSearchActionSearchParam struct {
4124
4110
// The search query.
4125
4111
Query string `json:"query,required"`
4126
- // Domains to restrict the search or domains where results were found.
4127
- Domains []string `json:"domains,omitzero"`
4128
4112
// The action type.
4129
4113
//
4130
4114
// This field can be elided, and will marshal its zero value as "search".
@@ -5073,9 +5057,7 @@ type ResponseInputItemUnionAction struct {
5073
5057
Text string `json:"text"`
5074
5058
// This field is from variant [ResponseFunctionWebSearchActionUnion].
5075
5059
Query string `json:"query"`
5076
- // This field is from variant [ResponseFunctionWebSearchActionUnion].
5077
- Domains []string `json:"domains"`
5078
- URL string `json:"url"`
5060
+ URL string `json:"url"`
5079
5061
// This field is from variant [ResponseFunctionWebSearchActionUnion].
5080
5062
Pattern string `json:"pattern"`
5081
5063
// This field is from variant [ResponseInputItemLocalShellCallAction].
@@ -5099,7 +5081,6 @@ type ResponseInputItemUnionAction struct {
5099
5081
ScrollY respjson.Field
5100
5082
Text respjson.Field
5101
5083
Query respjson.Field
5102
- Domains respjson.Field
5103
5084
URL respjson.Field
5104
5085
Pattern respjson.Field
5105
5086
Command respjson.Field
@@ -6243,15 +6224,6 @@ func (u responseInputItemUnionParamAction) GetQuery() *string {
6243
6224
return nil
6244
6225
}
6245
6226
6246
- // Returns a pointer to the underlying variant's property, if present.
6247
- func (u responseInputItemUnionParamAction ) GetDomains () []string {
6248
- switch vt := u .any .(type ) {
6249
- case * ResponseFunctionWebSearchActionUnionParam :
6250
- return vt .GetDomains ()
6251
- }
6252
- return nil
6253
- }
6254
-
6255
6227
// Returns a pointer to the underlying variant's property, if present.
6256
6228
func (u responseInputItemUnionParamAction ) GetPattern () * string {
6257
6229
switch vt := u .any .(type ) {
@@ -7268,9 +7240,7 @@ type ResponseItemUnionAction struct {
7268
7240
Text string `json:"text"`
7269
7241
// This field is from variant [ResponseFunctionWebSearchActionUnion].
7270
7242
Query string `json:"query"`
7271
- // This field is from variant [ResponseFunctionWebSearchActionUnion].
7272
- Domains []string `json:"domains"`
7273
- URL string `json:"url"`
7243
+ URL string `json:"url"`
7274
7244
// This field is from variant [ResponseFunctionWebSearchActionUnion].
7275
7245
Pattern string `json:"pattern"`
7276
7246
// This field is from variant [ResponseItemLocalShellCallAction].
@@ -7294,7 +7264,6 @@ type ResponseItemUnionAction struct {
7294
7264
ScrollY respjson.Field
7295
7265
Text respjson.Field
7296
7266
Query respjson.Field
7297
- Domains respjson.Field
7298
7267
URL respjson.Field
7299
7268
Pattern respjson.Field
7300
7269
Command respjson.Field
@@ -8035,9 +8004,7 @@ type ResponseOutputItemUnionAction struct {
8035
8004
// This field is from variant [ResponseFunctionWebSearchActionUnion].
8036
8005
Query string `json:"query"`
8037
8006
Type string `json:"type"`
8038
- // This field is from variant [ResponseFunctionWebSearchActionUnion].
8039
- Domains []string `json:"domains"`
8040
- URL string `json:"url"`
8007
+ URL string `json:"url"`
8041
8008
// This field is from variant [ResponseFunctionWebSearchActionUnion].
8042
8009
Pattern string `json:"pattern"`
8043
8010
// This field is from variant [ResponseComputerToolCallActionUnion].
@@ -8067,7 +8034,6 @@ type ResponseOutputItemUnionAction struct {
8067
8034
JSON struct {
8068
8035
Query respjson.Field
8069
8036
Type respjson.Field
8070
- Domains respjson.Field
8071
8037
URL respjson.Field
8072
8038
Pattern respjson.Field
8073
8039
Button respjson.Field
0 commit comments