| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
The provider argument becomes required with no default Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: dc263661-1b95-4f80-a7f4-3a4d3cd275ff
The provider argument becomes required with no default Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: dc263661-1b95-4f80-a7f4-3a4d3cd275ff
There was a problem hiding this comment.
This PR updates the .NET AI project templates to remove the retired GitHub Models provider and aligns template docs/tests/snapshots accordingly.
Changes:
Copilot reviewed 102 out of 102 changed files in this pull request and generated 4 comments.
Show a summary per file| File | Description |
|---|---|
| src/ProjectTemplates/Microsoft.Extensions.AI.Templates/templates/AIChatWeb-CSharp/.template.config/template.json | Removes GitHub Models choice and marks provider selection as required. |
| src/ProjectTemplates/Microsoft.Agents.AI.ProjectTemplates/templates/AIAgentWebApi-CSharp/.template.config/template.json | Removes GitHub Models choice and marks provider selection as required. |
| src/ProjectTemplates/Microsoft.Extensions.AI.Templates/templates/AIChatWeb-CSharp/AIChatWeb-CSharp.Web/Program.cs | Removes GH Models branch from generated app wiring. |
| src/ProjectTemplates/Microsoft.Extensions.AI.Templates/templates/AIChatWeb-CSharp/AIChatWeb-CSharp.Web/Program.Aspire.cs | Removes GH Models branch from Aspire wiring. |
| src/ProjectTemplates/Microsoft.Extensions.AI.Templates/templates/AIChatWeb-CSharp/AIChatWeb-CSharp.Web/README.md | Removes GH Models instructions from template README. |
| src/ProjectTemplates/Microsoft.Extensions.AI.Templates/templates/AIChatWeb-CSharp/README.Aspire.md | Removes GH Models instructions from Aspire README. |
| src/ProjectTemplates/Microsoft.Extensions.AI.Templates/templates/AIChatWeb-CSharp/AIChatWeb-CSharp.AppHost/AppHost.cs | Removes GH Models connection-string guidance/branching for Aspire AppHost. |
| src/ProjectTemplates/Microsoft.Agents.AI.ProjectTemplates/templates/AIAgentWebApi-CSharp/Program.cs | Removes GH Models branch from generated app wiring. |
| src/ProjectTemplates/Microsoft.Agents.AI.ProjectTemplates/templates/AIAgentWebApi-CSharp/README.md | Removes GH Models prerequisites/setup/troubleshooting from template README. |
| src/ProjectTemplates/Microsoft.Extensions.AI.Templates/templates/AIChatWeb-CSharp/AIChatWeb-CSharp.Web/AIChatWeb-CSharp.Web.csproj-in | Removes GH Models-related conditional package reference paths. |
| src/ProjectTemplates/Microsoft.Agents.AI.ProjectTemplates/templates/AIAgentWebApi-CSharp/AIAgentWebApi-CSharp.csproj-in | Removes GH Models from conditional OpenAI package reference gate. |
| src/ProjectTemplates/README.md | Updates provider option list to exclude GitHub Models. |
| test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/AIChatWebSnapshotTests.cs | Updates snapshot test scenarios to use explicit non-GH providers. |
| test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/AIChatWebExecutionTests.cs | Removes githubmodels from execution test provider matrix. |
| test/ProjectTemplates/Microsoft.Agents.AI.ProjectTemplates.IntegrationTests/AIAgentWebAPISnapshotTests.cs | Updates snapshot test scenarios to use explicit non-GH providers. |
| test/ProjectTemplates/Microsoft.Agents.AI.ProjectTemplates.IntegrationTests/AIAgentWebAPIExecutionTests.cs | Removes githubmodels from execution test provider matrix. |
| test/ProjectTemplates//Snapshots/ | Removes GitHub Models-based verified snapshot outputs and introduces/updates non-GH snapshots (where present). |
src/ProjectTemplates/README.md:152
dotnet new aichatweb `
[--provider <azureopenai | ollama | openai>] `
[--vector-store <azureaisearch | local | qdrant>] `
[--aspire] `
[--managed-identity]
test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/AIChatWebSnapshotTests.cs:34
[InlineData("--aspire", "--provider=openai")]
[InlineData("--aspire", "--provider=azureopenai", "--vector-store=azureaisearch")]
Sorry, something went wrong.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: f24c9c9d-985a-4bf4-865a-a7ea086a23e7
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: f24c9c9d-985a-4bf4-865a-a7ea086a23e7
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: f24c9c9d-985a-4bf4-865a-a7ea086a23e7
There was a problem hiding this comment.
Some of the baselines look like renames or renames with changes with how git processes the diff, but they were really deletions of github baselines and additions of new baselines for openai.
Sorry, something went wrong.
* Remove GitHub Models from aichatweb template The provider argument becomes required with no default Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: dc263661-1b95-4f80-a7f4-3a4d3cd275ff * Remove GitHub Models from aiagent-webapi template The provider argument becomes required with no default Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: dc263661-1b95-4f80-a7f4-3a4d3cd275ff * Document required AI provider Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: f24c9c9d-985a-4bf4-865a-a7ea086a23e7 * Add OpenAI template snapshots Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: f24c9c9d-985a-4bf4-865a-a7ea086a23e7 * Update agent template snapshots Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: f24c9c9d-985a-4bf4-865a-a7ea086a23e7 --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: dc263661-1b95-4f80-a7f4-3a4d3cd275ff Copilot-Session: f24c9c9d-985a-4bf4-865a-a7ea086a23e7
| Back | FazBrowse Home | New Git URL |
GitHub Models is being fully retired on July 30, 2026 - GitHub Changelog
Microsoft Reviewers: Open in CodeFlow