Open
Description
I am using WebSearchTool in Responses API. one of my queries returns some annotations in the format of:
ResponseStreamEvent{_unknown={type=response.output_text.annotation.added ..... annotation = {type=url_citation,........}}}
I was surprised that it's _unknown() even though the internal type is response.output_text.annotation.added
which I think should belong to isOutPutTextAnnotationAdded
this is how I invoked the call:
apiClient().responses().createStreaming(params).subscribe(e -> {
if (even.isOutPutTextAnnotationAdded()){...}
})