callbacks refactor #36
Annotations
10 warnings
src/libs/LangChain.Core/Base/Tracers/ConsoleCallbackHandler.cs#L190
The variable '_' is declared but never used
|
src/libs/LangChain.Core/Base/Tracers/TracerException.cs#L6
Add the following constructor to TracerException: public TracerException() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
|
src/libs/LangChain.Core/Base/Tracers/TracerException.cs#L6
Add the following constructor to TracerException: public TracerException(string message, Exception innerException) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
|
src/libs/LangChain.Core/Docstore/Document.cs#L35
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
|
src/libs/LangChain.Core/Docstore/Document.cs#L51
Prefer using 'string.Equals(string, StringComparison)' to perform a case-insensitive comparison, but keep in mind that this might cause subtle changes in behavior, so make sure to conduct thorough testing after applying the suggestion, or if culturally sensitive comparison is not required, consider using 'StringComparison.OrdinalIgnoreCase' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1862)
|
src/libs/LangChain.Core/Docstore/Document.cs#L62
Prefer the string comparison method overload of 'string.Contains(string)' that takes a 'StringComparison' enum value to perform a case-insensitive comparison, but keep in mind that this might cause subtle changes in behavior, so make sure to conduct thorough testing after applying the suggestion, or if culturally sensitive comparison is not required, consider using 'StringComparison.OrdinalIgnoreCase' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1862)
|
src/libs/LangChain.Core/Docstore/Document.cs#L51
In method 'Lookup', replace the call to 'ToLower' with 'ToUpperInvariant' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308)
|
src/libs/LangChain.Core/Docstore/Document.cs#L53
In method 'Lookup', replace the call to 'ToLower' with 'ToUpperInvariant' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308)
|
src/libs/LangChain.Core/Docstore/Document.cs#L62
In method 'Lookup', replace the call to 'ToLower' with 'ToUpperInvariant' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308)
|
src/libs/LangChain.Core/Callback/CallbackManagerForRetrieverRun.cs#L42
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
|
The logs for this run have expired and are no longer available.
Loading