Skip to content

.NET: Small fixes in README#4099

Merged
dmytrostruk merged 4 commits intomicrosoft:mainfrom
dmytrostruk:update-readme-dotnet
Feb 20, 2026
Merged

.NET: Small fixes in README#4099
dmytrostruk merged 4 commits intomicrosoft:mainfrom
dmytrostruk:update-readme-dotnet

Conversation

@dmytrostruk
Copy link
Member

Updated .NET README to use latest API.

@dmytrostruk dmytrostruk self-assigned this Feb 19, 2026
Copilot AI review requested due to automatic review settings February 19, 2026 20:32
@markwallace-microsoft markwallace-microsoft added the documentation Improvements or additions to documentation label Feb 19, 2026
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

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.

File Description
dotnet/README.md Updates Azure OpenAI quickstart snippet to use GetResponsesClient and import OpenAI.Responses.
README.md Updates 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;

@dmytrostruk dmytrostruk added this pull request to the merge queue Feb 19, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 19, 2026
@dmytrostruk dmytrostruk added this pull request to the merge queue Feb 19, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 19, 2026
@dmytrostruk dmytrostruk added this pull request to the merge queue Feb 20, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation .NET

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants