7 references to ToolCalls
Microsoft.Extensions.AI.Abstractions.Tests (1)
ChatCompletion\ChatFinishReasonTests.cs (1)
48
Assert.Equal("tool_calls", ChatFinishReason.
ToolCalls
.Value);
Microsoft.Extensions.AI.AzureAIInference (1)
AzureAIInferenceChatClient.cs (1)
284
finishReason == CompletionsFinishReason.ToolCalls ? ChatFinishReason.
ToolCalls
:
Microsoft.Extensions.AI.AzureAIInference.Tests (2)
AzureAIInferenceChatClientTests.cs (2)
520
Assert.Equal(ChatFinishReason.
ToolCalls
, response.FinishReason);
620
Assert.Equal(i < 7 ? null : ChatFinishReason.
ToolCalls
, updates[i].FinishReason);
Microsoft.Extensions.AI.OpenAI (1)
OpenAIChatClient.cs (1)
392
OpenAI.Chat.ChatFinishReason.ToolCalls or OpenAI.Chat.ChatFinishReason.FunctionCall => ChatFinishReason.
ToolCalls
,
Microsoft.Extensions.AI.OpenAI.Tests (2)
OpenAIChatClientTests.cs (2)
668
Assert.Equal(ChatFinishReason.
ToolCalls
, response.FinishReason);
773
Assert.Equal(i < 7 ? null : ChatFinishReason.
ToolCalls
, updates[i].FinishReason);