7 writes to AllowConcurrentInvocation
Aspire.Dashboard (1)
Model\Assistant\ChatClientFactory.cs (1)
59.UseFunctionInvocation(_loggerFactory, options => options.AllowConcurrentInvocation = true)
Microsoft.Extensions.AI.Tests (6)
ChatCompletion\FunctionInvokingChatClientTests.cs (6)
52client.AllowConcurrentInvocation = true; 218s => new FunctionInvokingChatClient(s) { AllowConcurrentInvocation = concurrentInvocation }); 266s => new FunctionInvokingChatClient(s) { AllowConcurrentInvocation = true }); 407functionInvokingChatClient.AllowConcurrentInvocation = allowConcurrentInvocation; 488functionInvokingChatClient.AllowConcurrentInvocation = allowConcurrentInvocation; 1077.UseFunctionInvocation(configure: c => { c.AllowConcurrentInvocation = true; c.IncludeDetailedErrors = true; });
7 references to AllowConcurrentInvocation
Microsoft.Extensions.AI (4)
ChatCompletion\FunctionInvokingChatClient.cs (4)
57/// The <see cref="AllowConcurrentInvocation"/> property can be used to control whether multiple function invocation 62/// <see cref="AllowConcurrentInvocation"/> set to <see langword="false"/>, in case the inner client decided to issue multiple 147/// By default, such function calls are processed serially. Set <see cref="AllowConcurrentInvocation"/> to 916if (AllowConcurrentInvocation)
Microsoft.Extensions.AI.Tests (3)
ChatCompletion\FunctionInvokingChatClientTests.cs (3)
37Assert.False(client.AllowConcurrentInvocation); 51Assert.False(client.AllowConcurrentInvocation); 53Assert.True(client.AllowConcurrentInvocation);