Skip to content

Implemented a ClientFactory to obtain a new instance of a ChatGptClient #252

Implemented a ClientFactory to obtain a new instance of a ChatGptClient

Implemented a ClientFactory to obtain a new instance of a ChatGptClient #252

Triggered via pull request February 7, 2024 20:57
Status Success
Total duration 2m 29s
Artifacts

codeql.yml

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

Annotations

12 warnings
Analyze (csharp)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3, github/codeql-action/init@v2, github/codeql-action/autobuild@v2, github/codeql-action/analyze@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Analyze (csharp)
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
Analyze (csharp): src/ChatGptNet/ChatGptFactoryServiceCollectionExtensions.cs#L42
Cannot convert null literal to non-nullable reference type.
Analyze (csharp): src/ChatGptNet/ChatGptFactoryServiceCollectionExtensions.cs#L22
XML comment has a param tag for 'setupAction', but there is no parameter by that name
Analyze (csharp): src/ChatGptNet/ChatGptFactoryServiceCollectionExtensions.cs#L24
Parameter 'builder' has no matching param tag in the XML comment for 'ChatGptFactoryServiceCollectionExtensions.AddChatGptClientFactory(IServiceCollection, Action<ChatGptOptionsBuilder>)' (but other parameters do)
Analyze (csharp): src/ChatGptNet/ChatGptFactoryServiceCollectionExtensions.cs#L42
Cannot convert null literal to non-nullable reference type.
Analyze (csharp): src/ChatGptNet/ChatGptFactoryServiceCollectionExtensions.cs#L22
XML comment has a param tag for 'setupAction', but there is no parameter by that name
Analyze (csharp): src/ChatGptNet/ChatGptFactoryServiceCollectionExtensions.cs#L24
Parameter 'builder' has no matching param tag in the XML comment for 'ChatGptFactoryServiceCollectionExtensions.AddChatGptClientFactory(IServiceCollection, Action<ChatGptOptionsBuilder>)' (but other parameters do)
Analyze (csharp): src/ChatGptNet/ChatGptFactoryServiceCollectionExtensions.cs#L42
Cannot convert null literal to non-nullable reference type.
Analyze (csharp): src/ChatGptNet/ChatGptFactoryServiceCollectionExtensions.cs#L22
XML comment has a param tag for 'setupAction', but there is no parameter by that name
Analyze (csharp): src/ChatGptNet/ChatGptFactoryServiceCollectionExtensions.cs#L24
Parameter 'builder' has no matching param tag in the XML comment for 'ChatGptFactoryServiceCollectionExtensions.AddChatGptClientFactory(IServiceCollection, Action<ChatGptOptionsBuilder>)' (but other parameters do)
Analyze (csharp): samples/ChatGptBlazor.Wasm/Components/ChatGptStream.razor#L121
Dereference of a possibly null reference.