Skip to content

Revert wrong handling of stream#1354

Merged
chensuyue merged 2 commits intoopea-project:mainfrom
Spycsh:sync_stream
Mar 3, 2025
Merged

Revert wrong handling of stream#1354
chensuyue merged 2 commits intoopea-project:mainfrom
Spycsh:sync_stream

Conversation

@Spycsh
Copy link
Copy Markdown
Collaborator

@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

@codecov
Copy link
Copy Markdown

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
align with opea-project/GenAIComps#1354

Signed-off-by: Chingis Yundunov <YundunovCN@sibedge.com>
dtrawins pushed a commit to dtrawins/GenAIComps that referenced this pull request Mar 5, 2025
opea-project#1300 (comment)

Signed-off-by: Spycsh <sihan.chen@intel.com>
Signed-off-by: Dariusz Trawinski <Dariusz.Trawinski@intel.com>
intelsharath pushed a commit to intelsharath/GenAIComps that referenced this pull request Mar 5, 2025
opea-project#1300 (comment)

Signed-off-by: Spycsh <sihan.chen@intel.com>
Signed-off-by: Raghava, Sharath <sharath.raghava@intel.com>
dtrawins pushed a commit to dtrawins/GenAIComps that referenced this pull request Mar 8, 2025
opea-project#1300 (comment)

Signed-off-by: Spycsh <sihan.chen@intel.com>
Signed-off-by: Dariusz Trawinski <Dariusz.Trawinski@intel.com>
dtrawins pushed a commit to dtrawins/GenAIComps that referenced this pull request Mar 8, 2025
Signed-off-by: Spycsh <sihan.chen@intel.com>
dtrawins pushed a commit to dtrawins/GenAIComps that referenced this pull request Mar 8, 2025
opea-project#1300 (comment)

Signed-off-by: Spycsh <sihan.chen@intel.com>
Signed-off-by: Dariusz Trawinski <Dariusz.Trawinski@intel.com>
dtrawins pushed a commit to dtrawins/GenAIComps that referenced this pull request Mar 8, 2025
Signed-off-by: Spycsh <sihan.chen@intel.com>
Signed-off-by: Dariusz Trawinski <Dariusz.Trawinski@intel.com>
jedwards-habana pushed a commit to jedwards-habana/GenAIExamples that referenced this pull request Mar 11, 2025
align with opea-project/GenAIComps#1354

Signed-off-by: Edwards, James A <jaedwards@habana.ai>
cwlacewe pushed a commit to cwlacewe/GenAIComps that referenced this pull request Mar 19, 2025
opea-project#1300 (comment)

Signed-off-by: Spycsh <sihan.chen@intel.com>
Signed-off-by: Lacewell, Chaunte W <chaunte.w.lacewell@intel.com>
chyundunovDatamonsters pushed a commit to chyundunovDatamonsters/OPEA-GenAIExamples that referenced this pull request Mar 21, 2025
align with opea-project/GenAIComps#1354

Signed-off-by: Chingis Yundunov <YundunovCN@sibedge.com>
chyundunovDatamonsters pushed a commit to chyundunovDatamonsters/OPEA-GenAIExamples that referenced this pull request Apr 1, 2025
align with opea-project/GenAIComps#1354

Signed-off-by: Chingis Yundunov <YundunovCN@sibedge.com>
chyundunovDatamonsters pushed a commit to chyundunovDatamonsters/OPEA-GenAIExamples that referenced this pull request Apr 1, 2025
align with opea-project/GenAIComps#1354

Signed-off-by: Chingis Yundunov <YundunovCN@sibedge.com>
madison-evans pushed a commit to SAPD-Intel/GenAIComps that referenced this pull request May 12, 2025
opea-project#1300 (comment)

Signed-off-by: Spycsh <sihan.chen@intel.com>
chyundunovDatamonsters pushed a commit to chyundunovDatamonsters/OPEA-GenAIExamples that referenced this pull request May 16, 2025
align with opea-project/GenAIComps#1354

Signed-off-by: Chingis Yundunov <c.yundunov@datamonsters.com>
cogniware-devops pushed a commit to Cogniware-Inc/GenAIExamples that referenced this pull request Dec 19, 2025
align with opea-project/GenAIComps#1354

Signed-off-by: cogniware-devops <ambarish.desai@cogniware.ai>
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