9 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)
174CompletionId = chatCompletionUpdate.Id, 235CompletionId = completionId,
Microsoft.Extensions.AI.OpenAI (2)
OpenAIModelMappers.StreamingChatCompletion.cs (2)
91CompletionId = chatCompletionUpdate.CompletionId, 169CompletionId = completionId,
Microsoft.Extensions.AI.OpenAI.Tests (1)
OpenAISerializationTests.cs (1)
596CompletionId = "chatcmpl-ADymNiWWeqCJqHNFXiI1QtRcLuXcl",
Microsoft.Extensions.AI.Tests (1)
ChatCompletion\OpenTelemetryChatClientTests.cs (1)
74CompletionId = "id123",
13 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)
236Assert.Equal("chatcmpl-ADxFKtX6xIwdWRN42QvBj2u1RZpCK", updates[i].CompletionId); 868Assert.Equal("chatcmpl-ADymNiWWeqCJqHNFXiI1QtRcLuXcl", updates[i].CompletionId);
Microsoft.Extensions.AI.OpenAI (1)
OpenAIModelMappers.StreamingChatCompletion.cs (1)
49completionId: chatCompletionUpdate.CompletionId,
Microsoft.Extensions.AI.OpenAI.Tests (2)
OpenAIChatClientTests.cs (2)
270Assert.Equal("chatcmpl-ADxFKtX6xIwdWRN42QvBj2u1RZpCK", updates[i].CompletionId); 861Assert.Equal("chatcmpl-ADymNiWWeqCJqHNFXiI1QtRcLuXcl", updates[i].CompletionId);