Skip to content

[C#] feat: Add managed identity support for OpenAIModel and OpenAIEmbeddings classes. #524

[C#] feat: Add managed identity support for OpenAIModel and OpenAIEmbeddings classes.

[C#] feat: Add managed identity support for OpenAIModel and OpenAIEmbeddings classes. #524

Triggered via pull request July 25, 2024 18:50
@singhk97singhk97
synchronize #1869
kavin/c#-mi
Status Success
Total duration 2m 39s
Artifacts

dotnet-codeql.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 warnings
Analyze: dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI/AI/Embeddings/OpenAIEmbeddings.cs#L44
Converting null literal or possible null value to non-nullable type.
Analyze: dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI.Tests/AITests/Models/ChatMessageExtensionsTests.cs#L163
'FunctionChatMessage' is obsolete: 'This field is marked as deprecated.'
Analyze: dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI.Tests/AITests/ChatMessageTests.cs#L229
'FunctionChatMessage' is obsolete: 'This field is marked as deprecated.'
Analyze: dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI.Tests/AITests/Models/ChatCompletionToolCallTests.cs#L7
Type 'ChatCompletionToolCallTests' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
Analyze: dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI/AI/Embeddings/OpenAIEmbeddings.cs#L44
Converting null literal or possible null value to non-nullable type.
Analyze: dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI.Tests/AITests/Models/ChatMessageExtensionsTests.cs#L163
'FunctionChatMessage' is obsolete: 'This field is marked as deprecated.'
Analyze: dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI.Tests/AITests/ChatMessageTests.cs#L229
'FunctionChatMessage' is obsolete: 'This field is marked as deprecated.'
Analyze: dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI.Tests/AITests/Models/ChatCompletionToolCallTests.cs#L7
Type 'ChatCompletionToolCallTests' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)