1 write to CurrentContext
Microsoft.Extensions.AI (1)
ChatCompletion\FunctionInvokingChatClient.cs (1)
825
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)
679
var context = FunctionInvokingChatClient.
CurrentContext
!;
719
Assert.Null(FunctionInvokingChatClient.
CurrentContext
);
756
FunctionInvokingChatClient.
CurrentContext
!.Terminate = true;