The (*ResponseService) GetStreaming method does not work.
In the file responses/response.go, in the GetStreaming method, a typo needs to be fixed:
- opts = append(opts, option.WithJSONSet("stream", true))
+ opts = append(opts, option.WithQuery("stream", "true"))
GetStreaming calls the /responses/{response_id} endpoint using the GET method, so instead of setting the parameter in the request body, it should be set in the query string.
The (*ResponseService) GetStreaming method does not work.
In the file responses/response.go, in the GetStreaming method, a typo needs to be fixed:
GetStreaming calls the /responses/{response_id} endpoint using the GET method, so instead of setting the parameter in the request body, it should be set in the query string.