6 writes to ModelId
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\ChatCompletion.cs (1)
147ModelId = ModelId
Microsoft.Extensions.AI.AzureAIInference (2)
AzureAIInferenceChatClient.cs (2)
175ModelId = modelId, 236ModelId = modelId,
Microsoft.Extensions.AI.Ollama (1)
OllamaChatClient.cs (1)
158ModelId = modelId,
Microsoft.Extensions.AI.OpenAI (2)
OpenAIChatClient.cs (2)
231ModelId = modelId, 325ModelId = modelId,
9 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)
219Assert.Equal("gpt-4o-mini-2024-07-18", updates[i].ModelId); 618Assert.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.Tests (2)
OpenAIChatClientTests.cs (2)
266Assert.Equal("gpt-4o-mini-2024-07-18", updates[i].ModelId); 769Assert.Equal("gpt-4o-mini-2024-07-18", updates[i].ModelId);