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