Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The retry mechanism for uploading voice files. #332

Open
delsoul6104 opened this issue Jan 14, 2025 · 3 comments
Open

The retry mechanism for uploading voice files. #332

delsoul6104 opened this issue Jan 14, 2025 · 3 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@delsoul6104
Copy link

If I upload a voice file to the backend service and the upload is interrupted due to network issues, is there a retry mechanism in place?

@OvidijusParsiunas OvidijusParsiunas self-assigned this Jan 14, 2025
@OvidijusParsiunas OvidijusParsiunas added the advice Information how to use/implement the component label Jan 14, 2025
@OvidijusParsiunas
Copy link
Owner

Hi @delsoul6104.

There are no retry mechanisms for sending any message content to the server.

The reason for this is because if something does go wrong when data is being sent - it carries low severity, hence the user is free to retry again and they are fully aware that there is some sort of a problem with the backend.

You can also observer that ChatGPT (to-date) also does not have a retry mechanism - potentially due to the same reason.

May I ask, what motivated you to raise this issue? Thanks!

@delsoul6104
Copy link
Author

Hi @delsoul6104.

There are no retry mechanisms for sending any message content to the server.

The reason for this is because if something does go wrong when data is being sent - it carries low severity, hence the user is free to retry again and they are fully aware that there is some sort of a problem with the backend.

You can also observer that ChatGPT (to-date) also does not have a retry mechanism - potentially due to the same reason.

May I ask, what motivated you to raise this issue? Thanks!
hi @OvidijusParsiunas

When I start recording with the microphone and send it to a custom backend service via DeepChat, if a network error occurs during the JS XHR request, the recording just made becomes invalid, and I need to record again.

@OvidijusParsiunas OvidijusParsiunas added bug Something isn't working enhancement New feature or request and removed advice Information how to use/implement the component labels Jan 15, 2025
@OvidijusParsiunas
Copy link
Owner

Ok, that seems to be quite serious.
I am currently working on another feature right now, but I will try to find a way to retain the recordings as soon as I get time.
I will update you when I have come up with a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants