Skip to content

Revert wrong handling of stream #1354

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
Mar 3, 2025
Merged

Conversation

Spycsh
Copy link
Member

@Spycsh Spycsh commented Mar 3, 2025

Description

Revert wrong handling of stream.

There are some reports on ChatQnA and other examples that show the streaming connection was closed before returning any concrete content. In vLLM log it shows the request is aborted without doing any inference and only [DONE] is returned on the frontend. They can be solved by this PR.

Issues

opea-project/GenAIExamples#1597

#1300 (comment)

Type of change

List the type of change like below. Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds new functionality)
  • Breaking change (fix or feature that would break existing design and interface)
  • Others (enhancement, documentation, validation, etc.)

Dependencies

na

Tests

na

Copy link

codecov bot commented Mar 3, 2025

Codecov Report

Attention: Patch coverage is 94.11765% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
comps/cores/mega/orchestrator.py 92.85% 1 Missing ⚠️
Files with missing lines Coverage Δ
comps/cores/mega/orchestrator_with_yaml.py 74.32% <100.00%> (-0.35%) ⬇️
comps/cores/mega/orchestrator.py 91.21% <92.85%> (+7.32%) ⬆️

@chensuyue chensuyue merged commit 644b5c6 into opea-project:main Mar 3, 2025
15 checks passed
chensuyue pushed a commit to opea-project/GenAIExamples that referenced this pull request Mar 3, 2025
chyundunovDatamonsters pushed a commit to chyundunovDatamonsters/OPEA-GenAIExamples that referenced this pull request Mar 4, 2025
dtrawins pushed a commit to dtrawins/GenAIComps that referenced this pull request Mar 5, 2025
opea-project#1300 (comment)

Signed-off-by: Spycsh <[email protected]>
Signed-off-by: Dariusz Trawinski <[email protected]>
intelsharath pushed a commit to intelsharath/GenAIComps that referenced this pull request Mar 5, 2025
opea-project#1300 (comment)

Signed-off-by: Spycsh <[email protected]>
Signed-off-by: Raghava, Sharath <[email protected]>
dtrawins pushed a commit to dtrawins/GenAIComps that referenced this pull request Mar 8, 2025
opea-project#1300 (comment)

Signed-off-by: Spycsh <[email protected]>
Signed-off-by: Dariusz Trawinski <[email protected]>
dtrawins pushed a commit to dtrawins/GenAIComps that referenced this pull request Mar 8, 2025
dtrawins pushed a commit to dtrawins/GenAIComps that referenced this pull request Mar 8, 2025
opea-project#1300 (comment)

Signed-off-by: Spycsh <[email protected]>
Signed-off-by: Dariusz Trawinski <[email protected]>
dtrawins pushed a commit to dtrawins/GenAIComps that referenced this pull request Mar 8, 2025
Signed-off-by: Spycsh <[email protected]>
Signed-off-by: Dariusz Trawinski <[email protected]>
jedwards-habana pushed a commit to jedwards-habana/GenAIExamples that referenced this pull request Mar 11, 2025
cwlacewe pushed a commit to cwlacewe/GenAIComps that referenced this pull request Mar 19, 2025
opea-project#1300 (comment)

Signed-off-by: Spycsh <[email protected]>
Signed-off-by: Lacewell, Chaunte W <[email protected]>
chyundunovDatamonsters pushed a commit to chyundunovDatamonsters/OPEA-GenAIExamples that referenced this pull request Mar 21, 2025
chyundunovDatamonsters pushed a commit to chyundunovDatamonsters/OPEA-GenAIExamples that referenced this pull request Apr 1, 2025
chyundunovDatamonsters pushed a commit to chyundunovDatamonsters/OPEA-GenAIExamples that referenced this pull request Apr 1, 2025
madison-evans pushed a commit to SAPD-Intel/GenAIComps that referenced this pull request May 12, 2025
chyundunovDatamonsters pushed a commit to chyundunovDatamonsters/OPEA-GenAIExamples that referenced this pull request May 16, 2025
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.

3 participants