3 writes to ProtectedData
Microsoft.Extensions.AI.Abstractions.Tests (2)
Contents\TextReasoningContentTests.cs (2)
52c.ProtectedData = "protected"; 54c.ProtectedData = null;
Microsoft.Extensions.AI.OpenAI (1)
OpenAIResponsesChatClient.cs (1)
156ProtectedData = reasoningItem.EncryptedContent,
8 references to ProtectedData
Microsoft.Extensions.AI.Abstractions (3)
ChatCompletion\ChatResponseExtensions.cs (1)
198canMerge: static (r1, r2) => string.IsNullOrEmpty(r1.ProtectedData), // we allow merging if the first item has no ProtectedData, even if the second does
Contents\TextReasoningContent.cs (2)
47/// only <see cref="ProtectedData"/> and have an empty <see cref="Text"/> property. This data also may be associated with 51/// Note that whereas <see cref="Text"/> can be provider agnostic, <see cref="ProtectedData"/>
Microsoft.Extensions.AI.Abstractions.Tests (4)
Contents\TextReasoningContentTests.cs (4)
19Assert.Null(c.ProtectedData); 51Assert.Null(c.ProtectedData); 53Assert.Equal("protected", c.ProtectedData); 55Assert.Null(c.ProtectedData);
Microsoft.Extensions.AI.OpenAI (1)
OpenAIResponsesChatClient.cs (1)
635encryptedContent: reasoningContent.ProtectedData,