8000 Update M.E.AI version used by Microsoft.ML.GenAI.Core (#7329) · dotnet/machinelearning@fb7cc25 · GitHub
[go: up one dir, main page]

Skip to content

Commit fb7cc25

Browse files
authored
Update M.E.AI version used by Microsoft.ML.GenAI.Core (#7329)
1 parent 12411fc commit fb7cc25

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<MicrosoftDotNetInteractiveVersion>1.0.0-beta.24375.2</MicrosoftDotNetInteractiveVersion>
4747
<MicrosoftMLOnnxRuntimeVersion>1.18.1</MicrosoftMLOnnxRuntimeVersion>
4848
<MlNetMklDepsVersion>0.0.0.12</MlNetMklDepsVersion>
49-
<MicrosoftExtensionsAIVersion>9.0.0-preview.9.24507.7</MicrosoftExtensionsAIVersion>
49+
<MicrosoftExtensionsAIVersion>9.0.1-preview.1.24570.5</MicrosoftExtensionsAIVersion>
5050
<!-- runtime.native.System.Data.SqlClient.sni is not updated by dependency flow as it is not produced live anymore. -->
5151
<RuntimeNativeSystemDataSqlClientSniVersion>4.4.0</RuntimeNativeSystemDataSqlClientSniVersion>
5252
<!--

src/Microsoft.ML.GenAI.Core/CausalLMPipelineChatClient.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ public virtual void Dispose()
8282
{
8383
}
8484

85-
public virtual TService? GetService<TService>(object? key = null) where TService : class
86-
{
87-
return null;
88-
}
85+
public virtual object? GetService(Type serviceType, object? serviceKey = null) =>
86+
serviceKey is null && serviceType is not null && serviceType.IsAssignableFrom(GetType()) ? this :
87+
null;
8988
}

0 commit comments

Comments
 (0)
0