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";
22 references to CallId
Microsoft.Extensions.AI (2)
ChatCompletion\FunctionInvokingChatClient.cs (1)
631return new FunctionResultContent(result.CallContent.CallId, result.CallContent.Name, functionResult) { Exception = result.Exception };
ChatCompletion\OpenTelemetryChatClient.cs (1)
514Id = 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)
458if (content is FunctionCallContent { CallId: not null } callRequest) 461callRequest.CallId,
Microsoft.Extensions.AI.AzureAIInference.Tests (1)
AzureAIInferenceChatClientTests.cs (1)
876Assert.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)
424CallId = fcc.CallId,
Microsoft.Extensions.AI.OpenAI (3)
OpenAIModelMapper.ChatCompletion.cs (1)
42callRequest.CallId,
OpenAIModelMapper.ChatMessage.cs (1)
168callRequest.CallId,
OpenAIModelMappers.StreamingChatCompletion.cs (1)
38toolCallId: functionCallContent.CallId,
Microsoft.Extensions.AI.OpenAI.Tests (2)
OpenAIChatClientTests.cs (1)
871Assert.Equal("call_F9ZaqPWo69u0urxAhVt8meDW", fcc.CallId);
OpenAISerializationTests.cs (1)
412Assert.Equal("12345", text.CallId);