8 writes to CompletionId
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\ChatCompletion.cs (1)
144CompletionId = CompletionId,
Microsoft.Extensions.AI.Abstractions.Tests (2)
ChatCompletion\StreamingChatCompletionUpdateTests.cs (2)
70update.CompletionId = "id"; 178CompletionId = "id",
Microsoft.Extensions.AI.AzureAIInference (2)
AzureAIInferenceChatClient.cs (2)
172CompletionId = chatCompletionUpdate.Id, 233CompletionId = completionId,
Microsoft.Extensions.AI.OpenAI (2)
OpenAIChatClient.cs (2)
228CompletionId = chatCompletionUpdate.CompletionId, 322CompletionId = completionId,
Microsoft.Extensions.AI.Tests (1)
ChatCompletion\OpenTelemetryChatClientTests.cs (1)
69CompletionId = "id123",
12 references to CompletionId
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\StreamingChatCompletionUpdateExtensions.cs (1)
91completion.CompletionId ??= update.CompletionId;
Microsoft.Extensions.AI.Abstractions.Tests (7)
ChatCompletion\ChatCompletionTests.cs (3)
222Assert.Equal("12345", update0.CompletionId); 272Assert.Equal("12345", update0.CompletionId); 283Assert.Equal("12345", update1.CompletionId);
ChatCompletion\StreamingChatCompletionUpdateTests.cs (4)
23Assert.Null(update.CompletionId); 69Assert.Null(update.CompletionId); 71Assert.Equal("id", update.CompletionId); 209Assert.Equal("id", result.CompletionId);
Microsoft.Extensions.AI.AzureAIInference.Tests (2)
AzureAIInferenceChatClientTests.cs (2)
217Assert.Equal("chatcmpl-ADxFKtX6xIwdWRN42QvBj2u1RZpCK", updates[i].CompletionId); 616Assert.Equal("chatcmpl-ADymNiWWeqCJqHNFXiI1QtRcLuXcl", updates[i].CompletionId);
Microsoft.Extensions.AI.OpenAI.Tests (2)
OpenAIChatClientTests.cs (2)
264Assert.Equal("chatcmpl-ADxFKtX6xIwdWRN42QvBj2u1RZpCK", updates[i].CompletionId); 767Assert.Equal("chatcmpl-ADymNiWWeqCJqHNFXiI1QtRcLuXcl", updates[i].CompletionId);