1 write to CurrentContext
Microsoft.Extensions.AI (1)
ChatCompletion\FunctionInvokingChatClient.cs (1)
834
CurrentContext
= context; // doesn't need to be explicitly reset after, as that's handled automatically at async method exit
3 references to CurrentContext
Microsoft.Extensions.AI.Tests (3)
ChatCompletion\FunctionInvokingChatClientTests.cs (3)
752
var context = FunctionInvokingChatClient.
CurrentContext
!;
792
Assert.Null(FunctionInvokingChatClient.
CurrentContext
);
829
FunctionInvokingChatClient.
CurrentContext
!.Terminate = true;