Skip to content

Conversation

howieleung
Copy link
Member

Description

Please add an informative description that covers that changes made by the pull request and link all relevant issues.

If an SDK is being regenerated based on a new API spec, a link to the pull request containing these API spec changes should be included above.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@Copilot Copilot AI review requested due to automatic review settings September 30, 2025 16:00
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 updates the Azure AI Agents SDK by regenerating it from a newer API specification commit. The main changes include removing unnecessary pylint disable comments and updating documentation strings for Bing search configuration parameters with more detailed descriptions and examples.

Key Changes

  • Updated TypeSpec commit reference from 8d4f7c60 to 79479173 in tsp-location.yaml
  • Enhanced documentation for Bing search configuration parameters with detailed explanations and examples
  • Cleaned up pylint disable comments across multiple files

Reviewed Changes

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

Show a summary per file
File Description
sdk/ai/azure-ai-agents/tsp-location.yaml Updated commit hash to reference newer API specification
sdk/ai/azure-ai-agents/azure/ai/agents/models/_models.py Enhanced documentation for BingCustomSearchConfiguration and BingGroundingSearchConfiguration classes
sdk/ai/azure-ai-agents/azure/ai/agents/operations/_operations.py Removed unnecessary pylint disable comment
sdk/ai/azure-ai-agents/azure/ai/agents/aio/operations/_operations.py Removed unnecessary pylint disable comment
sdk/ai/azure-ai-agents/azure/ai/agents/_utils/serialization.py Removed unnecessary pylint disable comment
sdk/ai/azure-ai-agents/azure/ai/agents/_utils/model_base.py Removed unnecessary pylint disable comment
sdk/ai/azure-ai-agents/tests/test_ai_instrumentor_base.py Added pylint disable comment for line-too-long
sdk/ai/azure-ai-agents/samples/agents_response_formats/sample_agents_json_schema_response_format.py Added pylint disable comment for line-too-long
sdk/ai/azure-ai-agents/CHANGELOG.md Updated release date from "Unreleased" to "2025-09-29"

* Week: Return webpages that Bing discovered within the last 7 days.
* Month: Return webpages that Bing discovered within the last 30 days. To get articles
discovered by Bing during a specific timeframe, specify a date range in the form:
`YYYY-MM-DD..YYYY-MM-DD`. For example, `freshness=2019-02-01..2019-05-30. To limit the results
Copy link
Preview

Copilot AI Sep 30, 2025

Choose a reason for hiding this comment

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

Missing closing backtick for the date range example. Should be freshness=2019-02-01..2019-05-30.

Suggested change
`YYYY-MM-DD..YYYY-MM-DD`. For example, `freshness=2019-02-01..2019-05-30. To limit the results
`YYYY-MM-DD..YYYY-MM-DD`. For example, `freshness=2019-02-01..2019-05-30`. To limit the results

Copilot uses AI. Check for mistakes.

Comment on lines +990 to +991
`YYYY-MM-DD..YYYY-MM-DD`. For example, `freshness=2019-02-01..2019-05-30. To limit the results
to a single date, set this parameter to a specific date. For example, freshness=2019-02-04`."""
Copy link
Preview

Copilot AI Sep 30, 2025

Choose a reason for hiding this comment

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

Missing opening backtick for the date example. Should be freshness=2019-02-04.

Suggested change
`YYYY-MM-DD..YYYY-MM-DD`. For example, `freshness=2019-02-01..2019-05-30. To limit the results
to a single date, set this parameter to a specific date. For example, freshness=2019-02-04`."""
`YYYY-MM-DD..YYYY-MM-DD`. For example, `freshness=2019-02-01..2019-05-30`. To limit the results
to a single date, set this parameter to a specific date. For example, `freshness=2019-02-04`."""

Copilot uses AI. Check for mistakes.

* Week: Return webpages that Bing discovered within the last 7 days.
* Month: Return webpages that Bing discovered within the last 30 days. To get articles
discovered by Bing during a specific timeframe, specify a date range in the form:
`YYYY-MM-DD..YYYY-MM-DD`. For example, `freshness=2019-02-01..2019-05-30. To limit the results
Copy link
Preview

Copilot AI Sep 30, 2025

Choose a reason for hiding this comment

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

Missing closing backtick for the date range example. Should be freshness=2019-02-01..2019-05-30.

Suggested change
`YYYY-MM-DD..YYYY-MM-DD`. For example, `freshness=2019-02-01..2019-05-30. To limit the results
`YYYY-MM-DD..YYYY-MM-DD`. For example, `freshness=2019-02-01..2019-05-30`. To limit the results

Copilot uses AI. Check for mistakes.

* Month: Return webpages that Bing discovered within the last 30 days. To get articles
discovered by Bing during a specific timeframe, specify a date range in the form:
`YYYY-MM-DD..YYYY-MM-DD`. For example, `freshness=2019-02-01..2019-05-30. To limit the results
to a single date, set this parameter to a specific date. For example, freshness=2019-02-04`."""
Copy link
Preview

Copilot AI Sep 30, 2025

Choose a reason for hiding this comment

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

Missing opening backtick for the date example. Should be freshness=2019-02-04.

Suggested change
to a single date, set this parameter to a specific date. For example, freshness=2019-02-04`."""
to a single date, set this parameter to a specific date. For example, `freshness=2019-02-04`."""

Copilot uses AI. Check for mistakes.

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