code cleanup #426
Annotations
13 warnings
Analyze (csharp)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, github/codeql-action/init@v2, actions/setup-dotnet@v1, 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)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
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):
OpenAI.SDK/Interfaces/IRunService.cs#L28
The EnumeratorCancellationAttribute applied to parameter 'cancellationToken' will have no effect. The attribute is only effective on a parameter of type CancellationToken in an async-iterator method returning IAsyncEnumerable
|
Analyze (csharp):
OpenAI.Utilities/Embedding/TextEmbeddingData.cs#L5
Non-nullable property 'FileName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Analyze (csharp):
OpenAI.SDK/Interfaces/IRunService.cs#L76
The EnumeratorCancellationAttribute applied to parameter 'cancellationToken' will have no effect. The attribute is only effective on a parameter of type CancellationToken in an async-iterator method returning IAsyncEnumerable
|
Analyze (csharp):
OpenAI.Utilities/Embedding/TextEmbeddingData.cs#L6
Non-nullable property 'Text' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Analyze (csharp):
OpenAI.SDK/Interfaces/IRunService.cs#L96
The EnumeratorCancellationAttribute applied to parameter 'cancellationToken' will have no effect. The attribute is only effective on a parameter of type CancellationToken in an async-iterator method returning IAsyncEnumerable
|
Analyze (csharp):
OpenAI.SDK/Interfaces/IRunService.cs#L28
The EnumeratorCancellationAttribute applied to parameter 'cancellationToken' will have no effect. The attribute is only effective on a parameter of type CancellationToken in an async-iterator method returning IAsyncEnumerable
|
Analyze (csharp):
OpenAI.SDK/Interfaces/IRunService.cs#L76
The EnumeratorCancellationAttribute applied to parameter 'cancellationToken' will have no effect. The attribute is only effective on a parameter of type CancellationToken in an async-iterator method returning IAsyncEnumerable
|
Analyze (csharp):
OpenAI.SDK/Interfaces/IRunService.cs#L96
The EnumeratorCancellationAttribute applied to parameter 'cancellationToken' will have no effect. The attribute is only effective on a parameter of type CancellationToken in an async-iterator method returning IAsyncEnumerable
|
Analyze (csharp):
OpenAI.SDK/ObjectModels/RequestModels/AssistantCreateRequest.cs#L83
Nullability of reference types in type of parameter 'value' of 'void AssistantCreateRequest.Model.set' doesn't match implicitly implemented member 'void IModel.Model.set' (possibly because of nullability attributes).
|
Analyze (csharp):
OpenAI.SDK/ObjectModels/RequestModels/AssistantCreateRequest.cs#L74
Nullability of reference types in return type of 'Dictionary<string, string>? AssistantCreateRequest.Metadata.get' doesn't match implicitly implemented member 'Dictionary<string, string> IMetaData.Metadata.get' (possibly because of nullability attributes).
|