Skip to content

Commit 264607b

Browse files
committed
Hand-edit MEAI ApiChief baseline to fix params ReadOnlySpan
Params collections are not yet supported in ICSharpCode.Decompiler: icsharpcode/ILSpy#829 The result is an emitted 'scoped' keyword instead of 'params'. This was edited by hand in the baseline MEAI file.
1 parent 317606b commit 264607b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/Libraries/Microsoft.Extensions.AI/Microsoft.Extensions.AI.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"Stage": "Stable"
1111
},
1212
{
13-
"Member": "abstract string Microsoft.Extensions.AI.CachingChatClient.GetCacheKey(System.Collections.Generic.IEnumerable<Microsoft.Extensions.AI.ChatMessage> messages, Microsoft.Extensions.AI.ChatOptions? options, scoped System.ReadOnlySpan<object?> additionalValues);",
13+
"Member": "abstract string Microsoft.Extensions.AI.CachingChatClient.GetCacheKey(System.Collections.Generic.IEnumerable<Microsoft.Extensions.AI.ChatMessage> messages, Microsoft.Extensions.AI.ChatOptions? options, params System.ReadOnlySpan<object?> additionalValues);",
1414
"Stage": "Stable"
1515
},
1616
{
@@ -58,7 +58,7 @@
5858
"Stage": "Stable"
5959
},
6060
{
61-
"Member": "abstract string Microsoft.Extensions.AI.CachingEmbeddingGenerator<TInput, TEmbedding>.GetCacheKey(scoped System.ReadOnlySpan<object?> values);",
61+
"Member": "abstract string Microsoft.Extensions.AI.CachingEmbeddingGenerator<TInput, TEmbedding>.GetCacheKey(params System.ReadOnlySpan<object?> values);",
6262
"Stage": "Stable"
6363
},
6464
{
@@ -276,7 +276,7 @@
276276
"Stage": "Stable"
277277
},
278278
{
279-
"Member": "override string Microsoft.Extensions.AI.DistributedCachingChatClient.GetCacheKey(System.Collections.Generic.IEnumerable<Microsoft.Extensions.AI.ChatMessage> messages, Microsoft.Extensions.AI.ChatOptions? options, scoped System.ReadOnlySpan<object?> additionalValues);",
279+
"Member": "override string Microsoft.Extensions.AI.DistributedCachingChatClient.GetCacheKey(System.Collections.Generic.IEnumerable<Microsoft.Extensions.AI.ChatMessage> messages, Microsoft.Extensions.AI.ChatOptions? options, params System.ReadOnlySpan<object?> additionalValues);",
280280
"Stage": "Stable"
281281
},
282282
{
@@ -322,7 +322,7 @@
322322
"Stage": "Stable"
323323
},
324324
{
325-
"Member": "override string Microsoft.Extensions.AI.DistributedCachingEmbeddingGenerator<TInput, TEmbedding>.GetCacheKey(scoped System.ReadOnlySpan<object?> values);",
325+
"Member": "override string Microsoft.Extensions.AI.DistributedCachingEmbeddingGenerator<TInput, TEmbedding>.GetCacheKey(params System.ReadOnlySpan<object?> values);",
326326
"Stage": "Stable"
327327
},
328328
{
@@ -821,4 +821,4 @@
821821
]
822822
}
823823
]
824-
}
824+
}

0 commit comments

Comments
 (0)