Skip to content

feat: add additional memory classes and do some cleanup #111

feat: add additional memory classes and do some cleanup

feat: add additional memory classes and do some cleanup #111

Triggered via pull request February 4, 2024 08:08
Status Success
Total duration 3m 16s
Artifacts 1

pull-request.yml

on: pull_request
Build and test  /  Build, test and publish
3m 7s
Build and test / Build, test and publish
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Build and test / Build, test and publish
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build and test / Build, test and publish: src/libs/LangChain.Core/Chains/StackableChains/ExtractCodeChain.cs#L22
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'LangChain.Chains.StackableChains.ExtractCodeChain.ExtractCode(string)' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
Build and test / Build, test and publish: src/libs/LangChain.Core/Chains/StackableChains/Extensions/HookExtension.cs#L10
In externally visible method 'T HookExtension.Hook<T>(T chain, Action<IChainValues> hook)', validate parameter 'chain' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Build and test / Build, test and publish: src/libs/LangChain.Core/Chains/StackableChains/ExtractCodeChain.cs#L48
In externally visible method 'Task<IChainValues> ExtractCodeChain.InternalCall(IChainValues values)', validate parameter 'values' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Build and test / Build, test and publish: src/libs/LangChain.Core/Chains/StackableChains/LoadMemoryChain.cs#L25
Converting null literal or possible null value to non-nullable type.
Build and test / Build, test and publish: src/libs/LangChain.Core/Chains/StackableChains/ExtractCodeChain.cs#L22
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'LangChain.Chains.StackableChains.ExtractCodeChain.ExtractCode(string)' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
Build and test / Build, test and publish: src/libs/LangChain.Core/Chains/StackableChains/Extensions/HookExtension.cs#L10
In externally visible method 'T HookExtension.Hook<T>(T chain, Action<IChainValues> hook)', validate parameter 'chain' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)

Artifacts

Produced during runtime
Name Size
nuget-packages Expired
10.2 MB