1 write to ProviderUri
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\ChatClientMetadata.cs (1)
19ProviderUri = providerUri;
8 references to ProviderUri
Microsoft.Extensions.AI (2)
ChatCompletion\OpenTelemetryChatClient.cs (2)
61_serverAddress = metadata.ProviderUri?.GetLeftPart(UriPartial.Path); 62_serverPort = metadata.ProviderUri?.Port ?? 0;
Microsoft.Extensions.AI.Abstractions.Tests (2)
ChatCompletion\ChatClientMetadataTests.cs (2)
16Assert.Null(metadata.ProviderUri); 26Assert.Same(uri, metadata.ProviderUri);
Microsoft.Extensions.AI.AzureAIInference.Tests (1)
AzureAIInferenceChatClientTests.cs (1)
65Assert.Equal(endpoint, chatClient.Metadata.ProviderUri);
Microsoft.Extensions.AI.Ollama.Tests (1)
OllamaChatClientTests.cs (1)
75Assert.Equal(endpoint, chatClient.Metadata.ProviderUri);
Microsoft.Extensions.AI.OpenAI.Tests (2)
OpenAIChatClientTests.cs (2)
76Assert.Equal(endpoint, chatClient.Metadata.ProviderUri); 81Assert.Equal(endpoint, chatClient.Metadata.ProviderUri);