Content-Length: 312250 | pFad | http://github.com/Azure/azure-sdk-for-net/pull/50506

64 Add the demonstration of include parameter. by nick863 · Pull Request #50506 · Azure/azure-sdk-for-net · GitHub
Skip to content

Add the demonstration of include parameter. #50506

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

nick863
Copy link
Member

@nick863 nick863 commented Jun 10, 2025

Contributing to the Azure SDK

Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.

For specific information about pull request etiquette and best practices, see this section.

@Copilot Copilot AI review requested due to automatic review settings June 10, 2025 00:35
Copy link
Contributor

@Copilot 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 adds demonstration code for the include parameter in run steps while updating sample documentation and cleaning up tests.

  • Introduces asynchronous and synchronous snippets for obtaining run step details with the include parameter
  • Removes an ignored test in the persistent agents tests
  • Updates sample documentation and asset tag metadata

Reviewed Changes

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

File Description
sdk/ai/Azure.AI.Agents.Persistent/tests/Samples/Sample_PersistentAgents_FileSearch.cs Adds new snippet regions illustrating the include parameter usage in asynchronous and synchronous flows
sdk/ai/Azure.AI.Agents.Persistent/tests/PersistentAgentsTests.cs Removes an ignored test comment related to service regression
sdk/ai/Azure.AI.Agents.Persistent/samples/Sample6_PersistentAgents_FileSearch.md Updates sample narratives and code snippets to align with the new demonstration
sdk/ai/Azure.AI.Agents.Persistent/assets.json Updates asset tag value
Comments suppressed due to low confidence (3)

sdk/ai/Azure.AI.Agents.Persistent/tests/Samples/Sample_PersistentAgents_FileSearch.cs:103

  • The variable name 'fileSearh' appears to be a typo. Consider renaming it to 'fileSearch' for clarity and consistency.
if (toolCall is RunStepFileSearchToolCall fileSearh)

sdk/ai/Azure.AI.Agents.Persistent/tests/Samples/Sample_PersistentAgents_FileSearch.cs:212

  • The typo in the variable name 'fileSearh' should be corrected to 'fileSearch' to avoid confusion in the code.
if (toolCall is RunStepFileSearchToolCall fileSearh)

sdk/ai/Azure.AI.Agents.Persistent/samples/Sample6_PersistentAgents_FileSearch.md:214

  • There is a typo in the sample code variable name 'fileSearh'; it is recommended to change it to 'fileSearch' for consistency.
if (toolCall is RunStepFileSearchToolCall fileSearh)

Copy link

github-actions bot commented Jun 10, 2025

API Change Check

APIView identified API level changes in this PR and created the following API reviews

Azure.AI.Agents.Persistent

@nick863 nick863 force-pushed the nirovins/add_sample_for_include branch from 8cf6cb7 to 95b8449 Compare June 10, 2025 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/Azure/azure-sdk-for-net/pull/50506

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy