Skip to content

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

Merged
mudler merged 1 commit into
masterfrom
fix/close-channel
Oct 5, 2024
Merged

fix(base-grpc): close channel in base grpc server#3734
mudler merged 1 commit into
masterfrom
fix/close-channel

Conversation

@mudler

@mudler mudler commented Oct 5, 2024

Copy link
Copy Markdown
Owner

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 <mudler@localai.io>
@netlify

netlify Bot commented Oct 5, 2024

Copy link
Copy Markdown

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
@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 <mudler@localai.io>
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