kernel-memory icon indicating copy to clipboard operation
kernel-memory copied to clipboard

[Bug] Cancellation is not performed

Open aropb opened this issue 1 year ago • 0 comments

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

aropb avatar Aug 07 '24 15:08 aropb