iamgreggarcia / codesherpa

A code interpreter and ChatGPT plugin.
MIT License
255 stars 34 forks source link

Remove hard link , and fix logic of streaming #35

Closed ugh82 closed 1 year ago

ugh82 commented 1 year ago

Because there is already setMessageIsStreaming inside the handleSendMessage and into fetchChat, when the setMessageIsStreaming(false) inside the fetchChat changed the status but there was still running inside our call, i remove it.

Also added the await in 2 calls.

And a minor change regarding the hard coded url inside the delete/upload file