fix: Update MarkdownHeaderTextSplitter.cs (#485) #480
Annotations
11 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build using dotnet:
src/Core/src/Utilities/DuckDuckGoSearchAPIWrapper.cs#L43
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
|
Build using dotnet:
src/Core/src/Utilities/DuckDuckGoSearchAPIWrapper.cs#L89
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
|
Build using dotnet:
src/Core/src/Utilities/DuckDuckGoSearch.cs#L53
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
|
Build using dotnet:
src/Core/src/Prompts/PromptTemplate.cs#L302
'System.ReadOnlySpan<char>.Slice(int, int)' uses a redundant length calculation that can be removed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1514)
|
Build using dotnet:
src/Core/src/Chains/CombineDocuments/ReduceDocumentsChain.cs#L152
Change type of parameter 'docs' from 'System.Collections.Generic.IReadOnlyList<LangChain.DocumentLoaders.Document>' to 'System.Collections.Generic.List<LangChain.DocumentLoaders.Document>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
|
Build using dotnet:
src/Core/src/Chains/StackableChains/Hooks/ConsoleTraceHook.cs#L74
Prefer the generic overload 'System.Enum.GetValues<TEnum>()' instead of 'System.Enum.GetValues(System.Type)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
|
Build using dotnet:
src/Core/src/Utilities/DuckDuckGoSearchAPIWrapper.cs#L43
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
|
Build using dotnet:
src/Core/src/Utilities/DuckDuckGoSearchAPIWrapper.cs#L89
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
|
Build using dotnet:
src/Core/src/Utilities/DuckDuckGoSearch.cs#L53
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
|
Build using dotnet:
src/Core/src/Chains/CombineDocuments/ReduceDocumentsChain.cs#L152
Change type of parameter 'docs' from 'System.Collections.Generic.IReadOnlyList<LangChain.DocumentLoaders.Document>' to 'System.Collections.Generic.List<LangChain.DocumentLoaders.Document>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
|
Loading