Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/AI.CodeAnalysis/ChatClientExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
static class ChatClientExtensions
{
#if NET9_0_OR_GREATER
[System.Runtime.CompilerServices.OverloadResolutionPriorityAttribute(100)]
[System.Runtime.CompilerServices.OverloadResolutionPriority(100)]
#endif
/// <summary>Gets an <see cref="IChatClient"/> for use with this <see cref="ChatClient"/>.</summary>
public static IChatClient AsIChatClient(this ChatClient client) =>
Expand Down
4 changes: 2 additions & 2 deletions src/AI/AI.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
<LangVersion>Preview</LangVersion>
<PackageId>Devlooped.Extensions.AI</PackageId>
<Description>Extensions for Microsoft.Extensions.AI</Description>
Expand All @@ -27,4 +27,4 @@
<None Update="Devlooped.Extensions.AI.props" PackFolder="build" />
</ItemGroup>

</Project>
</Project>
3 changes: 3 additions & 0 deletions src/AI/ClientPipelineExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public static TOptions Observable(Action<JsonNode>? onRequest = default, Action<

extension<TOptions>(TOptions options) where TOptions : ClientPipelineOptions
{
#if NET9_0_OR_GREATER
[System.Runtime.CompilerServices.OverloadResolutionPriority(100)]
#endif
/// <summary>
/// Adds a <see cref="PipelinePolicy"/> that observes requests and response
/// messages from the <see cref="ClientPipeline"/> and notifies the provided
Expand Down
Loading