Skip to content

Commit 63aa3d5

Browse files
chore(internal): codegen related update
1 parent 142cc65 commit 63aa3d5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tool.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,10 @@ func init() {
368368
apijson.RegisterUnion(
369369
reflect.TypeOf((*ToolCallResponseResultObjectValueUnion)(nil)).Elem(),
370370
"",
371+
apijson.UnionVariant{
372+
TypeFilter: gjson.JSON,
373+
Type: reflect.TypeOf(ToolCallResponseResultObjectValueMap{}),
374+
},
371375
apijson.UnionVariant{
372376
TypeFilter: gjson.JSON,
373377
Type: reflect.TypeOf(ToolCallResponseResultObjectValueArray{}),

0 commit comments

Comments
 (0)