3 references to CountTokens
Microsoft.Extensions.AI.Integration.Tests (3)
ReducingChatClientTests.cs (3)
148
int totalCount =
CountTokens
(chatMessages[chatMessages.Count - 1]);
154
totalCount +=
CountTokens
(chatMessages[i]);
177
totalCount +=
CountTokens
(chatMessages[i]);