Skip to content

Commit 238fcde

Browse files
Copilotrogerbarreto
andcommitted
Remove [Experimental] attributes from alpha pre-release APIs
Co-authored-by: rogerbarreto <[email protected]>
1 parent 1586f0e commit 238fcde

File tree

4 files changed

+1
-14
lines changed

4 files changed

+1
-14
lines changed

dotnet/src/Connectors/Connectors.Google.UnitTests/Connectors.Google.UnitTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<Nullable>enable</Nullable>
99
<ImplicitUsings>disable</ImplicitUsings>
1010
<IsPackable>false</IsPackable>
11-
<NoWarn>$(NoWarn);CA2007,CA1806,CA1869,CA1861,IDE0300,VSTHRD111,SKEXP0001,SKEXP0010,SKEXP0050,SKEXP0070</NoWarn>
11+
<NoWarn>$(NoWarn);CA2007,CA1806,CA1869,CA1861,IDE0300,VSTHRD111,SKEXP0001,SKEXP0010,SKEXP0050</NoWarn>
1212
</PropertyGroup>
1313

1414
<ItemGroup>

dotnet/src/Connectors/Connectors.Google.UnitTests/Extensions/GoogleAIServiceCollectionExtensionsTests.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) Microsoft. All rights reserved.
22

33
using System;
4-
using System.Diagnostics.CodeAnalysis;
54
using Microsoft.Extensions.AI;
65
using Microsoft.Extensions.DependencyInjection;
76
using Microsoft.SemanticKernel;
@@ -117,7 +116,6 @@ public void GoogleAIEmbeddingGeneratorShouldBeRegisteredInServiceCollection()
117116

118117
#if NET
119118
[Fact]
120-
[Experimental("SKEXP0070")]
121119
public void GoogleAIChatClientShouldBeRegisteredInKernelServicesWithApiKey()
122120
{
123121
// Arrange
@@ -133,7 +131,6 @@ public void GoogleAIChatClientShouldBeRegisteredInKernelServicesWithApiKey()
133131
}
134132

135133
[Fact]
136-
[Experimental("SKEXP0070")]
137134
public void GoogleAIChatClientShouldBeRegisteredInServiceCollectionWithApiKey()
138135
{
139136
// Arrange
@@ -149,7 +146,6 @@ public void GoogleAIChatClientShouldBeRegisteredInServiceCollectionWithApiKey()
149146
}
150147

151148
[Fact]
152-
[Experimental("SKEXP0070")]
153149
public void GoogleAIChatClientShouldBeRegisteredInKernelServicesWithClient()
154150
{
155151
// Arrange
@@ -166,7 +162,6 @@ public void GoogleAIChatClientShouldBeRegisteredInKernelServicesWithClient()
166162
}
167163

168164
[Fact]
169-
[Experimental("SKEXP0070")]
170165
public void GoogleAIChatClientShouldBeRegisteredInServiceCollectionWithClient()
171166
{
172167
// Arrange
@@ -183,7 +178,6 @@ public void GoogleAIChatClientShouldBeRegisteredInServiceCollectionWithClient()
183178
}
184179

185180
[Fact]
186-
[Experimental("SKEXP0070")]
187181
public void GoogleAIChatClientShouldBeRegisteredWithServiceId()
188182
{
189183
// Arrange
@@ -200,7 +194,6 @@ public void GoogleAIChatClientShouldBeRegisteredWithServiceId()
200194
}
201195

202196
[Fact]
203-
[Experimental("SKEXP0070")]
204197
public void GoogleAIChatClientShouldResolveFromServiceProviderWhenClientNotProvided()
205198
{
206199
// Arrange

dotnet/src/Connectors/Connectors.Google/Extensions/GoogleAIKernelBuilderExtensions.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) Microsoft. All rights reserved.
22

33
using System;
4-
using System.Diagnostics.CodeAnalysis;
54
using System.Net.Http;
65
using Microsoft.Extensions.AI;
76
using Microsoft.Extensions.DependencyInjection;
@@ -132,7 +131,6 @@ public static IKernelBuilder AddGoogleAIEmbeddingGenerator(
132131
/// <param name="openTelemetrySourceName">An optional name for the OpenTelemetry source.</param>
133132
/// <param name="openTelemetryConfig">An optional callback that can be used to configure the <see cref="OpenTelemetryChatClient"/> instance.</param>
134133
/// <returns>The updated kernel builder.</returns>
135-
[Experimental("SKEXP0070")]
136134
public static IKernelBuilder AddGoogleAIChatClient(
137135
this IKernelBuilder builder,
138136
string modelId,
@@ -165,7 +163,6 @@ public static IKernelBuilder AddGoogleAIChatClient(
165163
/// <param name="openTelemetrySourceName">An optional name for the OpenTelemetry source.</param>
166164
/// <param name="openTelemetryConfig">An optional callback that can be used to configure the <see cref="OpenTelemetryChatClient"/> instance.</param>
167165
/// <returns>The updated kernel builder.</returns>
168-
[Experimental("SKEXP0070")]
169166
public static IKernelBuilder AddGoogleAIChatClient(
170167
this IKernelBuilder builder,
171168
string modelId,

dotnet/src/Connectors/Connectors.Google/Extensions/GoogleAIServiceCollectionExtensions.DependencyInjection.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) Microsoft. All rights reserved.
22

33
using System;
4-
using System.Diagnostics.CodeAnalysis;
54
using System.Net.Http;
65
using Microsoft.Extensions.AI;
76
using Microsoft.Extensions.Logging;
@@ -62,7 +61,6 @@ public static IServiceCollection AddGoogleAIEmbeddingGenerator(
6261
/// <param name="openTelemetrySourceName">An optional name for the OpenTelemetry source.</param>
6362
/// <param name="openTelemetryConfig">An optional callback that can be used to configure the <see cref="OpenTelemetryChatClient"/> instance.</param>
6463
/// <returns>The updated service collection.</returns>
65-
[Experimental("SKEXP0070")]
6664
public static IServiceCollection AddGoogleAIChatClient(
6765
this IServiceCollection services,
6866
string modelId,
@@ -110,7 +108,6 @@ IChatClient Factory(IServiceProvider serviceProvider, object? _)
110108
/// <param name="openTelemetrySourceName">An optional name for the OpenTelemetry source.</param>
111109
/// <param name="openTelemetryConfig">An optional callback that can be used to configure the <see cref="OpenTelemetryChatClient"/> instance.</param>
112110
/// <returns>The updated service collection.</returns>
113-
[Experimental("SKEXP0070")]
114111
public static IServiceCollection AddGoogleAIChatClient(
115112
this IServiceCollection services,
116113
string modelId,

0 commit comments

Comments
 (0)