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

feat: implement cancellable #214

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tisfeng
Copy link

@tisfeng tisfeng commented Jun 3, 2024

What

Close #198

This PR enable user to cancel stream request, just picked up the commit from longseespace@a290a1a#diff-2a16b8014d00e2223611951c839756f88dd24a58d6d2d34962fa9c329eab6580

Why

Currently stream requests cannot be canceled once they are sent, which is bad.

Affected Areas

Copy link

sonarcloud bot commented Jun 3, 2024

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cancel the async openAI.chatsStream(query: query)
2 participants