Update src/Providers/OpenRouter/tests/OpenRouterTests.cs #6
dotnet.yml
on: push
Build, test and publish
/
Build, test and publish
4m 30s
Run TODO to Issue
10s
Annotations
12 warnings
Build, test and publish / 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, test and publish / Build, test and publish:
src/Serve/Abstractions/LangChain.Serve.Abstractions/IConversationNameProvider.cs#L7
Change 'List<StoredMessage>' in 'IConversationNameProvider.GetConversationName(List<StoredMessage>)' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
|
Build, test and publish / Build, test and publish:
src/Sources/Abstractions/src/EnumerableExtensions.cs#L69
Use 'string.StartsWith(char)' instead of 'string.StartsWith(string)' when you have a string with a single char (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1867)
|
Build, test and publish / Build, test and publish:
src/Providers/OpenAI/src/Chat/Message.Extension.cs#L11
Argument type 'Tool' is not CLS-compliant
|
Build, test and publish / Build, test and publish:
src/Providers/OpenAI/src/Chat/Message.Extension.cs#L18
Return type of 'MessageExtensions.ToToolCalls(Message)' is not CLS-compliant
|
Build, test and publish / Build, test and publish:
src/Providers/OpenAI/src/Chat/Message.Extension.cs#L34
Return type of 'MessageExtensions.GetTool(Message)' is not CLS-compliant
|
Build, test and publish / Build, test and publish:
src/Providers/OpenAI/src/Chat/OpenAiChatModel.cs#L62
Return type of 'OpenAiChatModel.ToRequestMessage(Message)' is not CLS-compliant
|
Build, test and publish / Build, test and publish:
src/Providers/OpenAI/src/Chat/OpenAiChatModel.Tools.cs#L20
Type of 'OpenAiChatModel.GlobalTools' is not CLS-compliant
|
Build, test and publish / Build, test and publish:
src/Providers/OpenAI/src/Chat/OpenAiChatModel.Tools.cs#L20
Change 'GlobalTools' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
|
Build, test and publish / Build, test and publish:
src/Providers/OpenAI/src/Chat/OpenAiChatModel.Tools.cs#L20
Change 'List<Tool>' in 'OpenAiChatModel.GlobalTools' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
|
Build, test and publish / Build, test and publish:
src/Providers/OpenAI/src/Chat/OpenAiChatModel.Tools.cs#L21
Change 'Calls' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "nuget-packages".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
nuget-packages
Expired
|
22.2 MB |
|