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