Skip to content

.Net: Fix non-streaming function calling text and usage aggregation #30373

.Net: Fix non-streaming function calling text and usage aggregation

.Net: Fix non-streaming function calling text and usage aggregation #30373

Status Failure
Total duration 12m 15s
Artifacts

dotnet-build-and-test.yml

on: pull_request
paths-filter
7s
paths-filter
Matrix: dotnet-build-and-test
dotnet-build-and-test-check
4s
dotnet-build-and-test-check
Fit to window
Zoom out
Zoom in

Annotations

31 errors
dotnet-build-and-test (10.0, ubuntu-latest, Release, true, integration): dotnet/src/Connectors/Connectors.MistralAI/Client/MistralClient.cs#L1182
Argument 1: cannot convert from 'System.Collections.Generic.IReadOnlyDictionary<string, object?>' to 'System.Collections.Generic.IDictionary<string, object?>'
dotnet-build-and-test (10.0, ubuntu-latest, Release, true, integration): dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.ChatCompletion.cs#L1091
Argument 1: cannot convert from 'System.Collections.Generic.IReadOnlyDictionary<string, object?>' to 'System.Collections.Generic.IDictionary<string, object?>'
dotnet-build-and-test (10.0, ubuntu-latest, Release, true, integration): dotnet/src/Connectors/Connectors.OpenAI.UnitTests/Core/FunctionCallingContentAggregationTests.cs#L173
Remove the underscores from member name SemanticKernel.Connectors.OpenAI.UnitTests.Core.FunctionCallingContentAggregationTests.NonStreaming_FilterTerminatesEarly_AggregatedContentStillAppliedAsync() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
dotnet-build-and-test (10.0, ubuntu-latest, Release, true, integration): dotnet/src/Connectors/Connectors.OpenAI.UnitTests/Core/FunctionCallingContentAggregationTests.cs#L116
Call System.IDisposable.Dispose on object created by 'new HttpResponseMessage(HttpStatusCode.OK)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
dotnet-build-and-test (10.0, ubuntu-latest, Release, true, integration): dotnet/src/Connectors/Connectors.OpenAI.UnitTests/Core/FunctionCallingContentAggregationTests.cs#L143
Remove the underscores from member name SemanticKernel.Connectors.OpenAI.UnitTests.Core.FunctionCallingContentAggregationTests.NonStreaming_ToolCallWithoutIntermediateText_OnlyFinalTextReturnedAsync() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
dotnet-build-and-test (10.0, ubuntu-latest, Release, true, integration): dotnet/src/Connectors/Connectors.OpenAI.UnitTests/Core/FunctionCallingContentAggregationTests.cs#L109
Remove the underscores from member name SemanticKernel.Connectors.OpenAI.UnitTests.Core.FunctionCallingContentAggregationTests.NonStreaming_SingleIteration_NoAggregationMetadataAddedAsync() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
dotnet-build-and-test (10.0, ubuntu-latest, Release, true, integration): dotnet/src/Connectors/Connectors.OpenAI.UnitTests/Core/FunctionCallingContentAggregationTests.cs#L69
Remove the underscores from member name SemanticKernel.Connectors.OpenAI.UnitTests.Core.FunctionCallingContentAggregationTests.NonStreaming_TokenUsage_IsAggregatedAcrossAllIterationsAsync() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
dotnet-build-and-test (10.0, ubuntu-latest, Release, true, integration): dotnet/src/Connectors/Connectors.OpenAI.UnitTests/Core/FunctionCallingContentAggregationTests.cs#L35
Remove the underscores from member name SemanticKernel.Connectors.OpenAI.UnitTests.Core.FunctionCallingContentAggregationTests.NonStreaming_IntermediateTextBeforeToolCall_IsAggregatedInFinalResponseAsync() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
dotnet-build-and-test (10.0, ubuntu-latest, Release, true, integration): dotnet/src/Connectors/Connectors.MistralAI/Client/MistralClient.cs#L1182
Argument 1: cannot convert from 'System.Collections.Generic.IReadOnlyDictionary<string, object?>' to 'System.Collections.Generic.IDictionary<string, object?>'
dotnet-build-and-test (10.0, ubuntu-latest, Release, true, integration): dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.ChatCompletion.cs#L1091
Argument 1: cannot convert from 'System.Collections.Generic.IReadOnlyDictionary<string, object?>' to 'System.Collections.Generic.IDictionary<string, object?>'
dotnet-build-and-test (10.0, windows-latest, Debug): dotnet/src/Connectors/Connectors.OpenAI.UnitTests/Core/FunctionCallingContentAggregationTests.cs#L69
Remove the underscores from member name SemanticKernel.Connectors.OpenAI.UnitTests.Core.FunctionCallingContentAggregationTests.NonStreaming_TokenUsage_IsAggregatedAcrossAllIterationsAsync() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
dotnet-build-and-test (10.0, windows-latest, Debug): dotnet/src/Connectors/Connectors.OpenAI.UnitTests/Core/FunctionCallingContentAggregationTests.cs#L35
Remove the underscores from member name SemanticKernel.Connectors.OpenAI.UnitTests.Core.FunctionCallingContentAggregationTests.NonStreaming_IntermediateTextBeforeToolCall_IsAggregatedInFinalResponseAsync() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
dotnet-build-and-test (10.0, windows-latest, Debug): dotnet/src/Connectors/Connectors.MistralAI/Client/MistralClient.cs#L1182
Argument 1: cannot convert from 'System.Collections.Generic.IReadOnlyDictionary<string, object?>' to 'System.Collections.Generic.IDictionary<string, object?>'
dotnet-build-and-test (10.0, windows-latest, Debug): dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.ChatCompletion.cs#L1091
Argument 1: cannot convert from 'System.Collections.Generic.IReadOnlyDictionary<string, object?>' to 'System.Collections.Generic.IDictionary<string, object?>'
dotnet-build-and-test (10.0, windows-latest, Debug): dotnet/src/Connectors/Connectors.OpenAI.UnitTests/Core/FunctionCallingContentAggregationTests.cs#L173
Remove the underscores from member name SemanticKernel.Connectors.OpenAI.UnitTests.Core.FunctionCallingContentAggregationTests.NonStreaming_FilterTerminatesEarly_AggregatedContentStillAppliedAsync() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
dotnet-build-and-test (10.0, windows-latest, Debug): dotnet/src/Connectors/Connectors.OpenAI.UnitTests/Core/FunctionCallingContentAggregationTests.cs#L143
Remove the underscores from member name SemanticKernel.Connectors.OpenAI.UnitTests.Core.FunctionCallingContentAggregationTests.NonStreaming_ToolCallWithoutIntermediateText_OnlyFinalTextReturnedAsync() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
dotnet-build-and-test (10.0, windows-latest, Debug): dotnet/src/Connectors/Connectors.OpenAI.UnitTests/Core/FunctionCallingContentAggregationTests.cs#L116
Call System.IDisposable.Dispose on object created by 'new HttpResponseMessage(HttpStatusCode.OK)
dotnet-build-and-test (10.0, windows-latest, Debug): dotnet/src/Connectors/Connectors.OpenAI.UnitTests/Core/FunctionCallingContentAggregationTests.cs#L109
Remove the underscores from member name SemanticKernel.Connectors.OpenAI.UnitTests.Core.FunctionCallingContentAggregationTests.NonStreaming_SingleIteration_NoAggregationMetadataAddedAsync() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
dotnet-build-and-test (10.0, windows-latest, Debug): dotnet/src/Connectors/Connectors.OpenAI.UnitTests/Core/FunctionCallingContentAggregationTests.cs#L69
Remove the underscores from member name SemanticKernel.Connectors.OpenAI.UnitTests.Core.FunctionCallingContentAggregationTests.NonStreaming_TokenUsage_IsAggregatedAcrossAllIterationsAsync() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
dotnet-build-and-test (10.0, windows-latest, Debug): dotnet/src/Connectors/Connectors.OpenAI.UnitTests/Core/FunctionCallingContentAggregationTests.cs#L35
Remove the underscores from member name SemanticKernel.Connectors.OpenAI.UnitTests.Core.FunctionCallingContentAggregationTests.NonStreaming_IntermediateTextBeforeToolCall_IsAggregatedInFinalResponseAsync() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
dotnet-build-and-test (9.0, windows-latest, Release): dotnet/src/Connectors/Connectors.MistralAI/Client/MistralClient.cs#L1182
Argument 1: cannot convert from 'System.Collections.Generic.IReadOnlyDictionary<string, object?>' to 'System.Collections.Generic.IDictionary<string, object?>'
dotnet-build-and-test (9.0, windows-latest, Release): dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.ChatCompletion.cs#L1091
Argument 1: cannot convert from 'System.Collections.Generic.IReadOnlyDictionary<string, object?>' to 'System.Collections.Generic.IDictionary<string, object?>'
dotnet-build-and-test (9.0, windows-latest, Release): dotnet/src/Connectors/Connectors.OpenAI.UnitTests/Core/FunctionCallingContentAggregationTests.cs#L173
Remove the underscores from member name SemanticKernel.Connectors.OpenAI.UnitTests.Core.FunctionCallingContentAggregationTests.NonStreaming_FilterTerminatesEarly_AggregatedContentStillAppliedAsync() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
dotnet-build-and-test (9.0, windows-latest, Release): dotnet/src/Connectors/Connectors.OpenAI.UnitTests/Core/FunctionCallingContentAggregationTests.cs#L143
Remove the underscores from member name SemanticKernel.Connectors.OpenAI.UnitTests.Core.FunctionCallingContentAggregationTests.NonStreaming_ToolCallWithoutIntermediateText_OnlyFinalTextReturnedAsync() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
dotnet-build-and-test (9.0, windows-latest, Release): dotnet/src/Connectors/Connectors.OpenAI.UnitTests/Core/FunctionCallingContentAggregationTests.cs#L116
Call System.IDisposable.Dispose on object created by 'new HttpResponseMessage(HttpStatusCode.OK)
dotnet-build-and-test (9.0, windows-latest, Release): dotnet/src/Connectors/Connectors.OpenAI.UnitTests/Core/FunctionCallingContentAggregationTests.cs#L109
Remove the underscores from member name SemanticKernel.Connectors.OpenAI.UnitTests.Core.FunctionCallingContentAggregationTests.NonStreaming_SingleIteration_NoAggregationMetadataAddedAsync() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
dotnet-build-and-test (9.0, windows-latest, Release): dotnet/src/Connectors/Connectors.OpenAI.UnitTests/Core/FunctionCallingContentAggregationTests.cs#L69
Remove the underscores from member name SemanticKernel.Connectors.OpenAI.UnitTests.Core.FunctionCallingContentAggregationTests.NonStreaming_TokenUsage_IsAggregatedAcrossAllIterationsAsync() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
dotnet-build-and-test (9.0, windows-latest, Release): dotnet/src/Connectors/Connectors.OpenAI.UnitTests/Core/FunctionCallingContentAggregationTests.cs#L35
Remove the underscores from member name SemanticKernel.Connectors.OpenAI.UnitTests.Core.FunctionCallingContentAggregationTests.NonStreaming_IntermediateTextBeforeToolCall_IsAggregatedInFinalResponseAsync() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
dotnet-build-and-test (9.0, windows-latest, Release): dotnet/src/Connectors/Connectors.MistralAI/Client/MistralClient.cs#L1182
Argument 1: cannot convert from 'System.Collections.Generic.IReadOnlyDictionary<string, object?>' to 'System.Collections.Generic.IDictionary<string, object?>'
dotnet-build-and-test (9.0, windows-latest, Release): dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.ChatCompletion.cs#L1091
Argument 1: cannot convert from 'System.Collections.Generic.IReadOnlyDictionary<string, object?>' to 'System.Collections.Generic.IDictionary<string, object?>'
dotnet-build-and-test-check
Integration Tests Failed!