Skip to content

Conversation

@stephentoub
Copy link
Member

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates the MultiModelService sample from the unofficial Anthropic.SDK package to the official Anthropic C# package, simplifying the client initialization and aligning with the official SDK.

  • Updates the Anthropic client initialization to use the official package's API
  • Removes the deprecated Anthropic.SDK package reference and version entry
  • Maintains consistency with AWS Bedrock and OpenAI client initialization patterns

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
dotnet/samples/GettingStarted/Workflows/_Foundational/05_MultiModelService/Program.cs Updates Anthropic client initialization to use the official Anthropic package API instead of Anthropic.SDK
dotnet/samples/GettingStarted/Workflows/_Foundational/05_MultiModelService/05_MultiModelService.csproj Changes package reference from "Anthropic.SDK" to "Anthropic"
dotnet/Directory.Packages.props Removes the Anthropic.SDK version entry (official Anthropic package version already exists at line 14)

@github-actions github-actions bot changed the title Change sample to use official Anthropic C# package .NET: Change sample to use official Anthropic C# package Nov 28, 2025
@stephentoub stephentoub added this pull request to the merge queue Nov 28, 2025
Merged via the queue into microsoft:main with commit a3909b8 Nov 28, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants