6 writes to AllowConcurrentInvocation
Microsoft.Extensions.AI.Tests (6)
ChatCompletion\FunctionInvokingChatClientTests.cs (6)
51client.AllowConcurrentInvocation = true; 217s => new FunctionInvokingChatClient(s) { AllowConcurrentInvocation = concurrentInvocation }); 265s => new FunctionInvokingChatClient(s) { AllowConcurrentInvocation = true }); 406functionInvokingChatClient.AllowConcurrentInvocation = allowConcurrentInvocation; 487functionInvokingChatClient.AllowConcurrentInvocation = allowConcurrentInvocation; 1058.UseFunctionInvocation(configure: c => { c.AllowConcurrentInvocation = true; c.IncludeDetailedErrors = true; });
7 references to AllowConcurrentInvocation
Microsoft.Extensions.AI (4)
ChatCompletion\FunctionInvokingChatClient.cs (4)
64/// The <see cref="AllowConcurrentInvocation"/> property can be used to control whether multiple function invocation 69/// <see cref="AllowConcurrentInvocation"/> set to <see langword="false"/>, in case the inner client decided to issue multiple 160/// By default, such function calls are processed serially. Set <see cref="AllowConcurrentInvocation"/> to 906if (AllowConcurrentInvocation)
Microsoft.Extensions.AI.Tests (3)
ChatCompletion\FunctionInvokingChatClientTests.cs (3)
36Assert.False(client.AllowConcurrentInvocation); 50Assert.False(client.AllowConcurrentInvocation); 52Assert.True(client.AllowConcurrentInvocation);