kernel-memory
kernel-memory copied to clipboard
[Bug] Cancellation is not performed
Context / Scenario
Hi,
The cancellation of the request is not performed in SearchClient.GenerateAnswer(). This place does not provide a response to the cancellation of a long-term request (with used cancellationToken).
My code: MemoryAnswer answer = await memory.AskAsync(question: question, filters: filters, cancellationToken: cancellationToken);
Thanks.
What happened?
When canceling the execution of an http request, the response generation must stop!
Importance
Critical
Platform, Language, Versions
Windows 11, NET 8.0.7, KM 0.70.240803.1
Relevant log output
No response