Repository navigation
.NET: Update retired Claude model in 04_MultiModelService sample - #8879
Merged
westey (westey-m) merged 2 commits intoOct 1, 2026
Merged
westey (westey-m) merged 2 commits into
westey (westey-m) merged 2 commits into
Conversation
claude-sonnet-4-20250514 was retired by Anthropic on 2026-06-15; its listed replacement is claude-sonnet-4-6. Also list the keys the sample reads in its verify-samples entry (Google instead of Bedrock since microsoft#5074). Fixes microsoft#8878
Simon Sudarushkin (simonether)
deployed
to
github-app-auth
September 30, 2026 01:23 — with
GitHub Actions
Active
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The focused updates match the sample’s implementation and resolve the retired-model failure.
Review effort: Balanced
Findings: None
What changed in this PR
Updates the multi-model workflow sample to use an active Claude model and accurate provider configuration.
Changes:
- Replaces the retired Claude Sonnet model.
- Corrects required API keys and skip messaging.
| File | Description |
|---|---|
Program.cs |
Uses claude-sonnet-4-6. |
WorkflowSamples.cs |
Lists the sample’s current provider keys. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Contributor
Author
|
@microsoft-github-policy-service agree |
westey (westey-m)
approved these changes
Oct 1, 2026
Simon Sudarushkin (simonether)
deployed
to
integration
October 1, 2026 14:03 — with
GitHub Actions
Active
Simon Sudarushkin (simonether)
deployed
to
integration
October 1, 2026 14:03 — with
GitHub Actions
Active
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation & Context
The .NET Start Here sample
03-workflows/_StartHere/04_MultiModelServiceusesclaude-sonnet-4-20250514, which Anthropic retired on June 15, 2026 (model deprecations), so the reporter agent's requests fail when the sample runs. Details are in #8878.Description & Review Guide
Program.cs: the Anthropic client usesclaude-sonnet-4-6, the replacement Anthropic lists forclaude-sonnet-4-20250514.dotnet/eng/verify-samples/WorkflowSamples.cs: the entry for this sample lists the keys it reads (GOOGLE_GENAI_API_KEY,ANTHROPIC_API_KEY,OPENAI_API_KEY). It still named the Bedrock keys from before .NET: fix: 04_MultiModelService Workflows sample #5074 moved the researcher agent to Google.claude-haiku-4-5orclaude-sonnet-4-5.I haven't built or run the sample locally.
Related Issue
Fixes #8878
Contribution Checklist
breaking changelabel (or add "[BREAKING]" to the title prefix, before or after any language prefix) — a workflow keeps the label and title prefix in sync automatically.