2 writes to CallId
Microsoft.Extensions.AI.Abstractions (1)
Contents\FunctionCallContent.cs (1)
29CallId = callId;
Microsoft.Extensions.AI.Abstractions.Tests (1)
Contents\FunctionCallContentTests..cs (1)
64c.CallId = "id";
20 references to CallId
Microsoft.Extensions.AI (2)
ChatCompletion\FunctionInvokingChatClient.cs (1)
615return new FunctionResultContent(result.CallContent.CallId, result.CallContent.Name, functionResult) { Exception = result.Exception };
ChatCompletion\OpenTelemetryChatClient.cs (1)
484Id = fc.CallId,
Microsoft.Extensions.AI.Abstractions (3)
Contents\FunctionCallContent.cs (2)
105string display = CallId is not null ? 106$"CallId = {CallId}, " :
Contents\FunctionResultContent.cs (1)
41/// <see cref="FunctionCallContent.CallId"/> value.
Microsoft.Extensions.AI.Abstractions.Tests (7)
ChatCompletion\ChatMessageTests.cs (1)
361Assert.Equal("function-id", functionCallContent.CallId);
Contents\FunctionCallContentTests..cs (6)
26Assert.Equal("callId1", c.CallId); 44Assert.Equal("id", c.CallId); 63Assert.Equal("callId1", c.CallId); 65Assert.Equal("id", c.CallId); 91Assert.Equal("callId1", deserializedSut.CallId); 323Assert.Equal("callId", content.CallId);
Microsoft.Extensions.AI.AzureAIInference (2)
AzureAIInferenceChatClient.cs (2)
454if (content is FunctionCallContent { CallId: not null } callRequest) 457callRequest.CallId,
Microsoft.Extensions.AI.AzureAIInference.Tests (1)
AzureAIInferenceChatClientTests.cs (1)
624Assert.Equal("call_F9ZaqPWo69u0urxAhVt8meDW", fcc.CallId);
Microsoft.Extensions.AI.Integration.Tests (1)
PromptBasedFunctionCallingChatClient.cs (1)
72var toolCallJson = JsonSerializer.Serialize(new { fcc.CallId, fcc.Name, fcc.Arguments }, _jsonOptions);
Microsoft.Extensions.AI.Ollama (1)
OllamaChatClient.cs (1)
403CallId = fcc.CallId,
Microsoft.Extensions.AI.OpenAI (2)
OpenAIChatClient.cs (2)
623if (content is FunctionCallContent { CallId: not null } callRequest) 627callRequest.CallId,
Microsoft.Extensions.AI.OpenAI.Tests (1)
OpenAIChatClientTests.cs (1)
777Assert.Equal("call_F9ZaqPWo69u0urxAhVt8meDW", fcc.CallId);