2 references to TryAsCoalescable
Microsoft.Extensions.AI.Abstractions (2)
ChatCompletion\ChatResponseExtensions.cs (2)
220
if (!
TryAsCoalescable
(contents[start], out var firstContent))
229
while (i < contents.Count &&
TryAsCoalescable
(contents[i], out TContent? next) && (canMerge is null || canMerge(prev, next)))