kernel-memory
kernel-memory copied to clipboard
[Bug] HttpClient.Timeout with ImportDocumentAsync
Context / Scenario
Importing file with:
using var memoryStream = new MemoryStream(); using Stream fileStream = File.OpenRead(filePath); await fileStream.CopyToAsync(memoryStream); memoryStream.Seek(0, SeekOrigin.Begin);
then: var docId = await memory.ImportDocumentAsync( content: memoryStream, documentId: memoryKey, fileName: fileName, index: indexName, steps: Microsoft.KernelMemory.Constants.PipelineWithSummary, tags: tagsCollection, context: context);
the file is 200KB
What happened?
Received a timeout
Importance
I cannot use Kernel Memory
Platform, Language, Versions
Azure, Blazor
Relevant log output
Error reading file: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.