Skip to content

Conversation

@dargilco
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 fixes a broken documentation link by updating the agents migration guide reference to point to the release/azure-ai-projects/1.0.0 branch instead of the main branch. Additionally, it enables Sphinx documentation generation and performs extensive documentation formatting improvements across the codebase.

Key Changes:

  • Enables Sphinx documentation by removing sphinx = false from pyproject.toml
  • Updates migration guide link in CHANGELOG.md to use the release/azure-ai-projects/1.0.0 branch
  • Standardizes documentation formatting by removing extraneous blank lines, converting markdown links to plain URLs, and improving indentation consistency

Reviewed Changes

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

File Description
sdk/ai/azure-ai-projects/pyproject.toml Removes sphinx = false to enable Sphinx documentation generation
sdk/ai/azure-ai-agents/CHANGELOG.md Updates migration guide link from main branch to release/azure-ai-projects/1.0.0 branch
sdk/ai/azure-ai-projects/azure/ai/projects/models/_models.py Cleans up docstring formatting by removing extra blank lines, converting parameter references, and standardizing link formats
sdk/ai/azure-ai-projects/azure/ai/projects/models/_enums.py Improves docstring indentation consistency for multi-line bullet points


The two categories of tools you can provide the model are:

can specify which tool to use by setting the _tool_choice_ parameter.
Copy link

Copilot AI Nov 12, 2025

Choose a reason for hiding this comment

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

The parameter reference _tool_choice_ should use backticks for consistency with the rest of the codebase. It should be `tool_choice` instead of _tool_choice_.

Suggested change
can specify which tool to use by setting the _tool_choice_ parameter.
can specify which tool to use by setting the `tool_choice` parameter.

Copilot uses AI. Check for mistakes.
* **Function calls (custom tools)**: Functions that are defined by you,
enabling the model to call your own code. Learn more about
[function calling](https://platform.openai.com/docs/guides/function-calling)."""
can specify which tool to use by setting the tool_choice parameter.
Copy link

Copilot AI Nov 12, 2025

Choose a reason for hiding this comment

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

The parameter name should use backticks for consistency: `tool_choice` instead of tool_choice.

Suggested change
can specify which tool to use by setting the tool_choice parameter.
can specify which tool to use by setting the `tool_choice` parameter.

Copilot uses AI. Check for mistakes.
:vartype tools: list[~azure.ai.projects.models.Tool]
:ivar tool_choice: How the model should select which tool (or tools) to use when generating
a response. See the ``tools`` parameter to see how to specify which tools
a response. See the tools parameter to see how to specify which tools
Copy link

Copilot AI Nov 12, 2025

Choose a reason for hiding this comment

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

The parameter reference should use backticks for consistency with the rest of the codebase: `tools` instead of tools.

Suggested change
a response. See the tools parameter to see how to specify which tools
a response. See the `tools` parameter to see how to specify which tools

Copilot uses AI. Check for mistakes.
)
"""How the model should select which tool (or tools) to use when generating
a response. See the ``tools`` parameter to see how to specify which tools
a response. See the tools parameter to see how to specify which tools
Copy link

Copilot AI Nov 12, 2025

Choose a reason for hiding this comment

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

The parameter reference should use backticks for consistency with the rest of the codebase: `tools` instead of tools.

Suggested change
a response. See the tools parameter to see how to specify which tools
a response. See the `tools` parameter to see how to specify which tools

Copilot uses AI. Check for mistakes.
@dargilco dargilco closed this Nov 15, 2025
@dargilco dargilco deleted the dargilco/fix-broken-link branch November 15, 2025 00:33
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.

2 participants