Skip to content

CodeQL

CodeQL #521

Triggered via schedule January 21, 2025 21:38
Status Success
Total duration 6m 25s
Artifacts

codeql-analysis.yml

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

Annotations

1 error and 10 warnings
Analyze (csharp)
CodeQL Action major versions v1 and v2 have been deprecated. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/
Analyze (csharp): OpenAI.Utilities/Embedding/TextEmbeddingData.cs#L5
Non-nullable property 'FileName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Analyze (csharp): OpenAI.Utilities/Embedding/TextEmbeddingData.cs#L6
Non-nullable property 'Text' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Analyze (csharp): OpenAI.Utilities/FunctionCalling/PropertyDefinitionGenerator.cs#L56
Converting null literal or possible null value to non-nullable type.
Analyze (csharp): OpenAI.SDK/Interfaces/IRunService.cs#L29
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/FunctionCalling/PropertyDefinitionGenerator.cs#L57
Possible null reference argument for parameter 'type' in 'PropertyDefinition PropertyDefinitionGenerator.GenerateFromType(Type type)'.
Analyze (csharp): OpenAI.SDK/Interfaces/IRunService.cs#L78
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/EmbeddingTools.cs#L204
Nullability of reference types in value of type 'List<TextEmbeddingData?>' doesn't match target type 'IEnumerable<TextEmbeddingData>'.
Analyze (csharp): OpenAI.SDK/Interfaces/IRunService.cs#L99
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/EmbeddingTools.cs#L15
Missing XML comment for publicly visible type or member 'IEmbeddingTools'
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).