Skip to content

isOutPutTextAnnotationAdded() seems to be broken in ResponseStreamEvent #502

Open
@bloodteller123

Description

@bloodteller123

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()){...}
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions