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

fix(base-grpc): close channel in base grpc server #3734

Merged
merged 1 commit into from
Oct 5, 2024
Merged

Conversation

mudler
Copy link
Owner

@mudler mudler commented Oct 5, 2024

If the LLM does not implement any logic for PredictStream, we close the channel immediately to not leave the process hanging.

Notes for Reviewers

Supersedes #3732

Signed commits

  • Yes, I signed my commits.

If the LLM does not implement any logic for PredictStream, we close the
channel immediately to not leave the process hanging.

Signed-off-by: Ettore Di Giacinto <[email protected]>
Copy link

netlify bot commented Oct 5, 2024

Deploy Preview for localai ready!

Name Link
🔨 Latest commit 61c794e
🔍 Latest deploy log https://app.netlify.com/sites/localai/deploys/670115ed137f020008b43587
😎 Deploy Preview https://deploy-preview-3734--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mudler mudler added the bug Something isn't working label Oct 5, 2024
@mudler mudler merged commit 092bb0b into master Oct 5, 2024
32 of 33 checks passed
@mudler mudler deleted the fix/close-channel branch October 5, 2024 13:14
siddimore pushed a commit to siddimore/LocalAI that referenced this pull request Oct 6, 2024
If the LLM does not implement any logic for PredictStream, we close the
channel immediately to not leave the process hanging.

Signed-off-by: Ettore Di Giacinto <[email protected]>
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.

1 participant