fix: let ctrl-c interrupt blocking job and agent collects
This commit is contained in:
6 files changed
+223
-3
No files matched your search
@@ -1432,6 +1432,7 @@ async fn ask(
|
||||
if input.is_empty() {
|
||||
return Ok(());
|
||||
}
|
||||
ctx.session_abort = Some(abort_signal.clone());
|
||||
if with_embeddings {
|
||||
input.use_embeddings(abort_signal.clone()).await?;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user