1 write to Key
Aspire.Hosting.GitHub.Models (1)
GitHubModelsExtensions.cs (1)
56builder.Resource.Key = apiKey.Resource;
6 references to Key
Aspire.Hosting.GitHub.Models (2)
GitHubModelResource.cs (2)
52? ReferenceExpression.Create($"Endpoint=https://models.github.ai/orgs/{Organization}/inference;Key={Key};Model={Model};DeploymentId={Model}") 53: ReferenceExpression.Create($"Endpoint=https://models.github.ai/inference;Key={Key};Model={Model};DeploymentId={Model}");
Aspire.Hosting.GitHub.Models.Tests (4)
GitHubModelsExtensionTests.cs (4)
64Assert.Equal(apiKeyParameter.Resource, github.Resource.Key); 75Assert.NotNull(github.Resource.Key); 76Assert.Equal("github-api-key", github.Resource.Key.Name); 77Assert.True(github.Resource.Key.Secret);