chatgpt-api
chatgpt-api copied to clipboard
Introduce an impelement of onProgress in browserAPI.
Use websocket to implement the onProgress method in the browser API environment, and introduce a new ProgressResponse type which contain new data fragments received each time.