Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions sdk/ai/azure-ai-projects/azure/ai/projects/models/_enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ class ItemType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
WORKFLOW_ACTION = "workflow_action"
MEMORY_SEARCH_CALL = "memory_search_call"
OAUTH_CONSENT_REQUEST = "oauth_consent_request"
AZURE_AI_SEARCH_CALL = "azure_ai_search_call"
Copy link

Copilot AI Dec 18, 2025

Choose a reason for hiding this comment

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

The PR description checklist indicates that "CHANGELOG is updated for new features, bug fixes or other significant changes," but no changes to the CHANGELOG.md file are included in this PR. Adding new constants to public enums constitutes a feature addition that should be documented in the CHANGELOG with an entry under "Features Added" in the "2.0.0b3 (Unreleased)" section.

Copilot uses AI. Check for mistakes.


class LocationType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
Expand Down Expand Up @@ -733,6 +734,7 @@ class ToolType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
FABRIC_DATAAGENT_PREVIEW = "fabric_dataagent_preview"
SHAREPOINT_GROUNDING_PREVIEW = "sharepoint_grounding_preview"
AZURE_AI_SEARCH = "azure_ai_search"
REMOTE_TOOL = "remote_tool" # AI Search Remote Tool
Copy link

Copilot AI Dec 18, 2025

Choose a reason for hiding this comment

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

The inline comment style used here is inconsistent with the documentation patterns used throughout this file. The codebase convention is to use triple-quoted docstrings on a separate line after each enum value when documentation is needed. For example, see lines 384-387 for MemoryItemKind enum values or lines 644-653 for ScheduleProvisioningStatus enum values. Consider either removing the inline comment if the name is self-explanatory, or converting it to a docstring format consistent with the rest of the file.

Copilot uses AI. Check for mistakes.
OPENAPI = "openapi"
BING_CUSTOM_SEARCH_PREVIEW = "bing_custom_search_preview"
CAPTURE_STRUCTURED_OUTPUTS = "capture_structured_outputs"
Expand Down
Loading