2 writes to CallId
Microsoft.Extensions.AI.Abstractions (1)
Contents\FunctionResultContent.cs (1)
31CallId = Throw.IfNull(callId);
Microsoft.Extensions.AI.Abstractions.Tests (1)
Contents\FunctionResultContentTests.cs (1)
52c.CallId = "id";
16 references to CallId
Microsoft.Extensions.AI (1)
ChatCompletion\OpenTelemetryChatClient.cs (1)
426Id = frc.CallId,
Microsoft.Extensions.AI.Abstractions (2)
Contents\FunctionResultContent.cs (2)
77string display = CallId is not null ? 78$"CallId = {CallId}, " :
Microsoft.Extensions.AI.Abstractions.Tests (9)
ChatCompletion\ChatMessageTests.cs (1)
369Assert.Equal("function-id", functionResultContent.CallId);
Contents\FunctionResultContentTests.cs (8)
16Assert.Equal("callId1", c.CallId); 31Assert.Equal("id", c.CallId); 51Assert.Equal("callId1", c.CallId); 53Assert.Equal("id", c.CallId); 79Assert.Equal(sut.CallId, deserializedSut.CallId); 96Assert.Equal(sut.CallId, deserializedSut.CallId);
Microsoft.Extensions.AI.AzureAIInference (1)
AzureAIInferenceChatClient.cs (1)
438yield 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)
419CallId = frc.CallId,
Microsoft.Extensions.AI.OpenAI (1)
OpenAIChatClient.cs (1)
610yield return new ToolChatMessage(resultContent.CallId, result ?? string.Empty);