7 writes to ModelId
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\ChatCompletion.cs (1)
147ModelId = ModelId
Microsoft.Extensions.AI.AzureAIInference (2)
AzureAIInferenceChatClient.cs (2)
177ModelId = modelId, 238ModelId = modelId,
Microsoft.Extensions.AI.Ollama (1)
OllamaChatClient.cs (1)
148ModelId = modelId,
Microsoft.Extensions.AI.OpenAI (2)
OpenAIModelMappers.StreamingChatCompletion.cs (2)
94ModelId = modelId, 172ModelId = modelId,
Microsoft.Extensions.AI.OpenAI.Tests (1)
OpenAISerializationTests.cs (1)
597ModelId = "gpt-4o-mini-2024-07-18",
10 references to ModelId
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\StreamingChatCompletionUpdateExtensions.cs (1)
94completion.ModelId ??= update.ModelId;
Microsoft.Extensions.AI.Abstractions.Tests (3)
ChatCompletion\ChatCompletionTests.cs (3)
223Assert.Equal("someModel", update0.ModelId); 273Assert.Equal("someModel", update0.ModelId); 284Assert.Equal("someModel", update1.ModelId);
Microsoft.Extensions.AI.AzureAIInference.Tests (2)
AzureAIInferenceChatClientTests.cs (2)
238Assert.Equal("gpt-4o-mini-2024-07-18", updates[i].ModelId); 870Assert.Equal("gpt-4o-mini-2024-07-18", updates[i].ModelId);
Microsoft.Extensions.AI.Ollama.Tests (1)
OllamaChatClientTests.cs (1)
190Assert.Equal("llama3.1", updates[i].ModelId);
Microsoft.Extensions.AI.OpenAI (1)
OpenAIModelMappers.StreamingChatCompletion.cs (1)
50model: chatCompletionUpdate.ModelId,
Microsoft.Extensions.AI.OpenAI.Tests (2)
OpenAIChatClientTests.cs (2)
272Assert.Equal("gpt-4o-mini-2024-07-18", updates[i].ModelId); 863Assert.Equal("gpt-4o-mini-2024-07-18", updates[i].ModelId);