Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
7beb5f1a
"deploy/vscode:/vscode.git/clone" did not exist on "d688aa68e5a0827cc10dfe127e124bee66aab0ea"
Unverified
Commit
7beb5f1a
authored
Feb 04, 2026
by
Janelle Cai
Committed by
GitHub
Feb 04, 2026
Browse files
fix: fuse unfold streams to prevent panics from poll after termination (#5872)
parent
763264ff
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
lib/llm/src/backend.rs
lib/llm/src/backend.rs
+2
-1
lib/llm/src/migration.rs
lib/llm/src/migration.rs
+2
-1
lib/llm/src/preprocessor.rs
lib/llm/src/preprocessor.rs
+2
-0
No files found.
lib/llm/src/backend.rs
View file @
7beb5f1a
...
@@ -262,7 +262,8 @@ impl
...
@@ -262,7 +262,8 @@ impl
None
=>
None
,
None
=>
None
,
}
}
});
})
.fuse
();
// convert stream of processed Annotated<LLMEngineOutput> to Annotated<BackendOutput>
// convert stream of processed Annotated<LLMEngineOutput> to Annotated<BackendOutput>
//let mdcsum = self.mdcsum.clone();
//let mdcsum = self.mdcsum.clone();
...
...
lib/llm/src/migration.rs
View file @
7beb5f1a
...
@@ -73,7 +73,8 @@ impl
...
@@ -73,7 +73,8 @@ impl
.next
()
.next
()
.await
.await
.map
(|
response
|
(
response
,
retry_manager
))
.map
(|
response
|
(
response
,
retry_manager
))
});
})
.fuse
();
Ok
(
ResponseStream
::
new
(
Box
::
pin
(
response_stream
),
engine_ctx_
))
Ok
(
ResponseStream
::
new
(
Box
::
pin
(
response_stream
),
engine_ctx_
))
}
}
}
}
...
...
lib/llm/src/preprocessor.rs
View file @
7beb5f1a
...
@@ -739,6 +739,7 @@ impl OpenAIPreprocessor {
...
@@ -739,6 +739,7 @@ impl OpenAIPreprocessor {
}
}
}
}
})
})
.fuse
()
}
}
/// Transform engine embedding output stream to OpenAI embedding response stream
/// Transform engine embedding output stream to OpenAI embedding response stream
...
@@ -905,6 +906,7 @@ impl OpenAIPreprocessor {
...
@@ -905,6 +906,7 @@ impl OpenAIPreprocessor {
None
None
}
}
})
})
.fuse
()
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment