Skip to content

Commit 49dde32

Browse files
danmoseleyeerhardt
andauthored
[release/9.4] Add GitHub Models integration (#10170) (#10313) (#10316)
backport typos Co-authored-by: Eric Erhardt <[email protected]>
1 parent f3141e3 commit 49dde32

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Aspire.Hosting.GitHub.Models/GitHubModelsExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static IResourceBuilder<GitHubModelResource> AddGitHubModel(this IDistrib
3737
State = new ResourceStateSnapshot(KnownResourceStates.Running, KnownResourceStateStyles.Success),
3838
Properties =
3939
[
40-
new(CustomResourceKnownProperties.Source, "Github Models")
40+
new(CustomResourceKnownProperties.Source, "GitHub Models")
4141
]
4242
});
4343
}

src/Aspire.Hosting.GitHub.Models/GitHubModelsHealthCheck.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ private static async Task<HealthCheckResult> HandleErrorCode(HttpResponseMessage
9898
{
9999
}
100100

101-
return HealthCheckResult.Unhealthy($"GitHub Models returned an unsupported resonse: ({response.StatusCode}) {errorResponse?.Error?.Message}");
101+
return HealthCheckResult.Unhealthy($"GitHub Models returned an unsupported response: ({response.StatusCode}) {errorResponse?.Error?.Message}");
102102
}
103103

104104
/// <summary>

src/Aspire.Hosting.GitHub.Models/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ var chat = builder.AddGitHubModel("chat", "openai/gpt-4o-mini")
5757
.WithApiKey(apiKey);
5858
```
5959

60-
The in user secrets:
60+
Then in user secrets:
6161

6262
```json
6363
{

0 commit comments

Comments
 (0)