Skip to content

CodeQL

CodeQL #515

Triggered via schedule December 17, 2024 21:38
Status Success
Total duration 6m 39s
Artifacts

codeql-analysis.yml

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

Annotations

11 warnings
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.Utilities/FunctionCalling/PropertyDefinitionGenerator.cs#L56
Converting null literal or possible null value to non-nullable type.
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#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.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.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.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).
Analyze (csharp): OpenAI.SDK/ObjectModels/RequestModels/AssistantModifyRequest.cs#L76
Nullability of reference types in type of parameter 'value' of 'void AssistantModifyRequest.Model.set' doesn't match implicitly implemented member 'void IModel.Model.set' (possibly because of nullability attributes).
Analyze (csharp): OpenAI.SDK/ObjectModels/RequestModels/AssistantModifyRequest.cs#L70
Nullability of reference types in return type of 'Dictionary<string, string>? AssistantModifyRequest.Metadata.get' doesn't match implicitly implemented member 'Dictionary<string, string> IMetaData.Metadata.get' (possibly because of nullability attributes).
Analyze (csharp): OpenAI.SDK/ObjectModels/RequestModels/AudioCreateSpeechRequest.cs#L38
Nullability of reference types in type of parameter 'value' of 'void AudioCreateSpeechRequest.Model.set' doesn't match implicitly implemented member 'void IModel.Model.set' (possibly because of nullability attributes).