Skip to content

.NET: Small fixes in README - #4099

Merged
Dmytro Struk (dmytrostruk) merged 4 commits into
microsoft:mainfrom
dmytrostruk:update-readme-dotnet
Feb 20, 2026
Merged

.NET: Small fixes in README#4099
Dmytro Struk (dmytrostruk) merged 4 commits into
microsoft:mainfrom
dmytrostruk:update-readme-dotnet

Conversation

@dmytrostruk

Copy link
Copy Markdown
Member

Updated .NET README to use latest API.

CopilotAI review requested due to automatic review settings February 19, 2026 20:32
@dmytrostrukDmytro Struk (dmytrostruk) added the .NET Usage: [Issues, PRs], Target: .Net label Feb 19, 2026
@markwallace-microsoftMark Wallace (markwallace-microsoft) added the documentation Usage: [Issues, PRs], Target: documentation in the code base and learn docs label Feb 19, 2026

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the .NET quickstart documentation to reflect the newer OpenAI “Responses” client API usage, aligning README examples with current SDK patterns.

Changes:

  • Replace .GetOpenAIResponseClient(...) with .GetResponsesClient(...) in README code samples.
  • Add using OpenAI.Responses; where needed to make Responses types/extensions available.
  • Adjust .NET quickstart using blocks accordingly in both root and dotnet/ READMEs.

Reviewed changes

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

FileDescription
dotnet/README.mdUpdates Azure OpenAI quickstart snippet to use GetResponsesClient and import OpenAI.Responses.
README.mdUpdates root .NET quickstart snippets (OpenAI + Azure token auth) to use GetResponsesClient and import OpenAI.Responses.
Comments suppressed due to low confidence (1)

README.md:150

  • This snippet uses new Uri(...) / Console.WriteLine(...) but doesn’t import System. Consider adding using System; (or fully-qualifying) to keep the README example self-contained for users not using SDK implicit usings.
using System.ClientModel.Primitives;
using Azure.Identity;
using Microsoft.Agents.AI;
using OpenAI;
using OpenAI.Responses;

Comment threaddotnet/README.md
Comment threadREADME.md
@github-merge-queue
github-merge-queueBot removed this pull request from the merge queue due to failed status checks Feb 19, 2026
@github-merge-queue
github-merge-queueBot removed this pull request from the merge queue due to failed status checks Feb 19, 2026
@github-merge-queue
github-merge-queueBot removed this pull request from the merge queue due to failed status checks Feb 20, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentationUsage: [Issues, PRs], Target: documentation in the code base and learn docs.NETUsage: [Issues, PRs], Target: .Net

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@dmytrostruk@lokitoth@TaoChenOSU@alliscode@moonbox3@giles17@markwallace-microsoft