Skip to content

fixes #178: implement SSE retry without fetch-event-source #185

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

Merged
merged 2 commits into from
Jan 17, 2025

Conversation

Fabilin
Copy link
Member

@Fabilin Fabilin commented Jan 7, 2025

#180 introduced a retry mechanism using the @microsoft/fetch-event-source package. However, that package does not seem maintained anymore, and some sporadic message duplication issues occurred while testing the 24.9.0-rc.1 pre-release which seem related to an unmerged PR (Azure/fetch-event-source#7).

This PR therefore reimplements the retry logic using the browser's EventSource, and removes the dependency on fetch-event-source.

@Fabilin Fabilin added the bug Something isn't working label Jan 7, 2025
@Fabilin Fabilin added this to the 24.9.0 milestone Jan 7, 2025
@Fabilin Fabilin merged commit 54b708d into theopenconversationkit:master Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants