3 writes to CallId
Microsoft.Extensions.AI.Abstractions (2)
Contents\FunctionResultContent.cs (2)
31CallId = Throw.IfNull(callId); 49CallId = Throw.IfNull(callId);
Microsoft.Extensions.AI.Abstractions.Tests (1)
Contents\FunctionResultContentTests.cs (1)
74c.CallId = "id";
17 references to CallId
Microsoft.Extensions.AI (1)
ChatCompletion\OpenTelemetryChatClient.cs (1)
464Id = frc.CallId,
Microsoft.Extensions.AI.Abstractions (2)
Contents\FunctionResultContent.cs (2)
110string display = CallId is not null ? 111$"CallId = {CallId}, " :
Microsoft.Extensions.AI.Abstractions.Tests (10)
ChatCompletion\ChatMessageTests.cs (1)
380Assert.Equal("function-id", functionResultContent.CallId);
Contents\FunctionResultContentTests.cs (9)
16Assert.Equal("callId1", c.CallId); 35Assert.Equal("id", c.CallId); 49Assert.Equal("id", c.CallId); 73Assert.Equal("callId1", c.CallId); 75Assert.Equal("id", c.CallId); 101Assert.Equal(sut.CallId, deserializedSut.CallId); 118Assert.Equal(sut.CallId, deserializedSut.CallId);
Microsoft.Extensions.AI.AzureAIInference (1)
AzureAIInferenceChatClient.cs (1)
447yield return new ChatRequestToolMessage(result ?? string.Empty, resultContent.CallId);
Microsoft.Extensions.AI.Integration.Tests (1)
PromptBasedFunctionCallingChatClient.cs (1)
65var toolCallResultJson = JsonSerializer.Serialize(new ToolCallResult { Id = frc.CallId, Result = frc.Result }, _jsonOptions);
Microsoft.Extensions.AI.Ollama (1)
OllamaChatClient.cs (1)
389CallId = frc.CallId,
Microsoft.Extensions.AI.OpenAI (1)
OpenAIChatClient.cs (1)
607yield return new ToolChatMessage(resultContent.CallId, result ?? string.Empty);