Calls the Responses API with retry logic in case of failures.
completionWithRetry(
request: ResponseCreateParamsStreaming,
requestOptions: RequestOptions
): Promise<AsyncIterable<ResponseStreamEvent, any, any>>| Name | Type | Description |
|---|---|---|
request* | ResponseCreateParamsStreaming | The request to send to the OpenAI API. |
requestOptions | RequestOptions |