Skip to content

added ask_stream endpoint #222

added ask_stream endpoint

added ask_stream endpoint #222

Triggered via pull request August 1, 2024 15:03
Status Failure
Total duration 1m 28s
Artifacts

dotnet-build.yml

on: pull_request
Matrix: Build
Fit to window
Zoom out
Zoom in

Annotations

18 errors
Build (8.0.x, ubuntu-latest, Release): clients/dotnet/WebClient/MemoryWebClient.cs#L376
The body of 'MemoryWebClient.AskAsyncChunk(string, string?, MemoryFilter?, ICollection<MemoryFilter>?, double, IContext?, CancellationToken)' cannot be an iterator block because 'Task<IAsyncEnumerable<MemoryAnswer>>' is not an iterator interface type
Build (8.0.x, ubuntu-latest, Release): clients/dotnet/WebClient/MemoryWebClient.cs#L409
Forward the 'cancellationToken' parameter to the 'ReadLineAsync' method or pass in 'CancellationToken.None' explicitly to indicate intentionally not propagating the token (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2016)
Build (8.0.x, ubuntu-latest, Release): clients/dotnet/WebClient/MemoryWebClient.cs#L411
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'Microsoft.KernelMemory.MemoryWebClient.AskAsyncChunk(string, string?, Microsoft.KernelMemory.MemoryFilter?, System.Collections.Generic.ICollection<Microsoft.KernelMemory.MemoryFilter>?, double, Microsoft.KernelMemory.Context.IContext?, System.Threading.CancellationToken)' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
Build (8.0.x, ubuntu-latest, Release): clients/dotnet/WebClient/MemoryWebClient.cs#L14
Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005)
Build (8.0.x, ubuntu-latest, Release): clients/dotnet/WebClient/MemoryWebClient.cs#L376
The body of 'MemoryWebClient.AskAsyncChunk(string, string?, MemoryFilter?, ICollection<MemoryFilter>?, double, IContext?, CancellationToken)' cannot be an iterator block because 'Task<IAsyncEnumerable<MemoryAnswer>>' is not an iterator interface type
Build (8.0.x, ubuntu-latest, Release): clients/dotnet/WebClient/MemoryWebClient.cs#L409
Forward the 'cancellationToken' parameter to the 'ReadLineAsync' method or pass in 'CancellationToken.None' explicitly to indicate intentionally not propagating the token (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2016)
Build (8.0.x, ubuntu-latest, Release): clients/dotnet/WebClient/MemoryWebClient.cs#L411
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'Microsoft.KernelMemory.MemoryWebClient.AskAsyncChunk(string, string?, Microsoft.KernelMemory.MemoryFilter?, System.Collections.Generic.ICollection<Microsoft.KernelMemory.MemoryFilter>?, double, Microsoft.KernelMemory.Context.IContext?, System.Threading.CancellationToken)' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
Build (8.0.x, ubuntu-latest, Release): clients/dotnet/WebClient/MemoryWebClient.cs#L14
Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005)
Build (8.0.x, ubuntu-latest, Release)
Process completed with exit code 1.
Build (8.0.x, ubuntu-latest, Debug): clients/dotnet/WebClient/MemoryWebClient.cs#L376
The body of 'MemoryWebClient.AskAsyncChunk(string, string?, MemoryFilter?, ICollection<MemoryFilter>?, double, IContext?, CancellationToken)' cannot be an iterator block because 'Task<IAsyncEnumerable<MemoryAnswer>>' is not an iterator interface type
Build (8.0.x, ubuntu-latest, Debug): clients/dotnet/WebClient/MemoryWebClient.cs#L409
Forward the 'cancellationToken' parameter to the 'ReadLineAsync' method or pass in 'CancellationToken.None' explicitly to indicate intentionally not propagating the token (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2016)
Build (8.0.x, ubuntu-latest, Debug): clients/dotnet/WebClient/MemoryWebClient.cs#L411
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'Microsoft.KernelMemory.MemoryWebClient.AskAsyncChunk(string, string?, Microsoft.KernelMemory.MemoryFilter?, System.Collections.Generic.ICollection<Microsoft.KernelMemory.MemoryFilter>?, double, Microsoft.KernelMemory.Context.IContext?, System.Threading.CancellationToken)' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
Build (8.0.x, ubuntu-latest, Debug): clients/dotnet/WebClient/MemoryWebClient.cs#L14
Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005)
Build (8.0.x, ubuntu-latest, Debug): clients/dotnet/WebClient/MemoryWebClient.cs#L376
The body of 'MemoryWebClient.AskAsyncChunk(string, string?, MemoryFilter?, ICollection<MemoryFilter>?, double, IContext?, CancellationToken)' cannot be an iterator block because 'Task<IAsyncEnumerable<MemoryAnswer>>' is not an iterator interface type
Build (8.0.x, ubuntu-latest, Debug): clients/dotnet/WebClient/MemoryWebClient.cs#L409
Forward the 'cancellationToken' parameter to the 'ReadLineAsync' method or pass in 'CancellationToken.None' explicitly to indicate intentionally not propagating the token (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2016)
Build (8.0.x, ubuntu-latest, Debug): clients/dotnet/WebClient/MemoryWebClient.cs#L411
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'Microsoft.KernelMemory.MemoryWebClient.AskAsyncChunk(string, string?, Microsoft.KernelMemory.MemoryFilter?, System.Collections.Generic.ICollection<Microsoft.KernelMemory.MemoryFilter>?, double, Microsoft.KernelMemory.Context.IContext?, System.Threading.CancellationToken)' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
Build (8.0.x, ubuntu-latest, Debug): clients/dotnet/WebClient/MemoryWebClient.cs#L14
Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005)
Build (8.0.x, ubuntu-latest, Debug)
Process completed with exit code 1.