Skip to content

feat: support compute tokens in Models module #328

feat: support compute tokens in Models module

feat: support compute tokens in Models module #328

Triggered via pull request November 18, 2025 05:46
Status Success
Total duration 1m 2s
Artifacts

dotnet-tests.yml

on: pull_request
unit-e2e-tests
59s
unit-e2e-tests
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
unit-e2e-tests: Google.GenAI.E2E.Tests/EditImage/EditImageErrorHandlingTest.cs#L64
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/GenerateContent/GenerateContentSimpleTest.cs#L68
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/GenerateContent/GenerateContentSimpleTest.cs#L65
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/ComputeTokens/ComputeTokensTest.cs#L68
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/ComputeTokens/ComputeTokensTest.cs#L65
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/EditImage/EditImageTest.cs#L65
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/EditImage/EditImageTest.cs#L62
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/GenerateContent/GenerateContentErrorHandlingTest.cs#L66
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/GenerateContent/GenerateContentErrorHandlingTest.cs#L63
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/MockCredential.cs#L29
Cannot convert null literal to non-nullable reference type.
unit-e2e-tests: Google.GenAI.E2E.Tests/EditImage/EditImageTest.cs#L62
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/GenerateContent/GenerateContentErrorHandlingTest.cs#L66
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/GenerateContent/GenerateContentErrorHandlingTest.cs#L63
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/GenerateImages/GenerateImagesErrorHandlingTest.cs#L66
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/GenerateImages/GenerateImagesErrorHandlingTest.cs#L63
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/GenerateContent/GenerateContentStreamErrorHandlingTest.cs#L66
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/GenerateContent/GenerateContentStreamErrorHandlingTest.cs#L63
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/EditImage/EditImageErrorHandlingTest.cs#L67
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/EditImage/EditImageErrorHandlingTest.cs#L64
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/MockCredential.cs#L29
Cannot convert null literal to non-nullable reference type.
unit-e2e-tests: Google.GenAI/Common.cs#L86
Possible null reference argument for parameter 'jsonObject' in 'void Common.SetValueByPath(JsonObject jsonObject, string[] path, object value)'.
unit-e2e-tests: Google.GenAI/Common.cs#L86
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI/Common.cs#L79
Dereference of a possibly null reference.
unit-e2e-tests: Google.GenAI/Common.cs#L72
Possible null reference argument for parameter 'jsonObject' in 'void Common.SetValueByPath(JsonObject jsonObject, string[] path, object value)'.
unit-e2e-tests: Google.GenAI/Common.cs#L72
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI/Common.cs#L61
Dereference of a possibly null reference.
unit-e2e-tests: Google.GenAI/Common.cs#L58
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI/Common.cs#L54
Dereference of a possibly null reference.
unit-e2e-tests: Google.GenAI/ApiClient.cs#L184
Dereference of a possibly null reference.
unit-e2e-tests: Google.GenAI/ApiClient.cs#L143
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