Skip to content

Replace hardcoded Azure OpenAI model names/versions with generic placeholders#511

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/fix-generic-model-names
Draft

Replace hardcoded Azure OpenAI model names/versions with generic placeholders#511
Copilot wants to merge 2 commits intomainfrom
copilot/fix-generic-model-names

Conversation

Copy link
Contributor

Copilot AI commented Mar 5, 2026

Specific model name gpt-4.5-preview and version 2025-02-27 in Azure OpenAI docs can become retired, breaking the samples for users. Replaced with generic placeholders and linked to the canonical models reference.

  • C# code samples in both azure-openai-get-started.mdx and azure-openai-host.mdx: replaced hardcoded values with <deployment-name>, <model-name>, <model-version>
  • Bicep sample in azure-openai-host.mdx: same placeholder treatment
  • Prose: added guidance directing users to Azure OpenAI available models docs for current values
openai.AddDeployment(
    name: "<deployment-name>",
    modelName: "<model-name>",
    modelVersion: "<model-version>");

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

…eholders

Addresses dotnet/docs-aspire#5512 - specific model names and versions
(gpt-4.5-preview, 2025-02-27) can become retired/outdated. Replaced with
generic placeholders and added links to the Azure OpenAI available models
documentation where users can find current models and versions.

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix model names and versions to be generic placeholders Replace hardcoded Azure OpenAI model names/versions with generic placeholders Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants