Skip to content

Emit from TypeSpec branch dargilco/try-new-client-decorators#47422

Open
dargilco wants to merge 3 commits into
feature/azure-ai-projects/2.3.0from
dargilco/emit-from-typespec-2026-06-09-1453
Open

Emit from TypeSpec branch dargilco/try-new-client-decorators#47422
dargilco wants to merge 3 commits into
feature/azure-ai-projects/2.3.0from
dargilco/emit-from-typespec-2026-06-09-1453

Conversation

@dargilco

@dargilco dargilco commented Jun 9, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings June 9, 2026 22:56
@dargilco dargilco changed the base branch from main to feature/azure-ai-projects/2.3.0 June 9, 2026 22:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 azure-ai-projects by re-emitting the SDK from a new TypeSpec branch (dargilco/try-new-client-decorators), refreshing the generated API surface and aligning package/docs/samples with the new emitted shape.

Changes:

  • Updated the TypeSpec source location (including a much larger additionalDirectories set) and removed the old saved tsp-location file.
  • Regenerated models/enums/types and adjusted multipart form-data handling utilities, plus updated ApiView mapping metadata.
  • Added/updated samples, docs, and internal “skills” documentation (including a new changelog-update skill) and updated the changelog for the next unreleased version.

Reviewed changes

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

Show a summary per file
File Description
sdk/ai/azure-ai-projects/tsp-location.yaml.saved Removed old saved TypeSpec location.
sdk/ai/azure-ai-projects/tsp-location.yaml Added new TypeSpec repo path + expanded additionalDirectories.
sdk/ai/azure-ai-projects/tests/samples/test_samples.py Skips a new sample in sample test execution due to permissions.
sdk/ai/azure-ai-projects/tests/samples/llm_instructions.py Reformatted instruction strings (parenthesized multi-line literals).
sdk/ai/azure-ai-projects/tests/redteams/test_redteams.py Removes a snippet marker comment in the redteams test.
sdk/ai/azure-ai-projects/tests/redteams/test_redteams_async.py Removes a snippet marker comment in the async redteams test.
sdk/ai/azure-ai-projects/samples/hosted_agents/sample_routines_with_dispatch.py New sample demonstrating manual routine dispatch and polling.
sdk/ai/azure-ai-projects/pyproject.toml Updates package metadata/classifiers and python requirement.
sdk/ai/azure-ai-projects/post-emitter-fixes.cmd Updates post-emitter fix script (removes some prior fix steps; adjusts black invocation).
sdk/ai/azure-ai-projects/docs/subclients.md Updates method counts and marks certain methods with *.
sdk/ai/azure-ai-projects/CHANGELOG.md Adds 2.3.0 unreleased entries including breaking change notes and sample updates.
sdk/ai/azure-ai-projects/azure/ai/projects/models/_models.py Regenerated models (new/removed models, docstrings, new tool types, etc.).
sdk/ai/azure-ai-projects/azure/ai/projects/models/_enums.py Regenerated enums (new members/types and several member name changes).
sdk/ai/azure-ai-projects/azure/ai/projects/models/init.py Updates exported public model symbols.
sdk/ai/azure-ai-projects/azure/ai/projects/_utils/utils.py Adjusts multipart form-data preparation and filename normalization.
sdk/ai/azure-ai-projects/azure/ai/projects/_types.py Adds a new internal type alias (RoutineRunStatus).
sdk/ai/azure-ai-projects/apiview-properties.json Updates APIView type mappings and cross-language version hash.
sdk/ai/azure-ai-projects/.github/skills/README.md Updates skill usage docs and lists available skills.
sdk/ai/azure-ai-projects/.github/skills/azure-ai-projects-update-changelog/SKILL.md Adds a new skill definition for changelog updates.
sdk/ai/azure-ai-projects/.github/skills/azure-ai-projects-emit-from-typespec/SKILL.md Updates emit-from-typespec skill steps (removes embedded changelog step, renumbers).

{ name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" },
]
description = "Microsoft Corporation Azure AI Projects Client Library for Python"
description = "Microsoft Corporation Azure Ai Projects Client Library for Python"
Comment on lines 14209 to 14213
:ivar tools: A list of tool definitions that the model should be allowed to call. For the
Responses API, the list of tool definitions might look like the following. Required.
Responses API, the list of tool definitions might look like:

.. code-block:: json

Comment on lines 14230 to 14234
"""A list of tool definitions that the model should be allowed to call. For the Responses API, the
list of tool definitions might look like the following. Required.
list of tool definitions might look like:

.. code-block:: json

Comment on lines 12975 to +12979
.. code-block::

event: log
data: {"timestamp":"2026-03-10T09:33:17.121Z","stream":"stdout","message":"Starting server on port 18080"}
data: {"timestamp":"2026-03-10T09:33:17.121Z","stream":"stdout","message":"Starting server
on port 18080"}
Comment on lines +81 to +82
A2_A = "a2a"
"""A2_A."""
Comment on lines +126 to +127
A2_A = "a2a"
"""A2_A."""
Comment on lines +311 to +318
MEMORY1_GB = "1g"
"""MEMORY1_GB."""
MEMORY4_GB = "4g"
"""MEMORY4_GB."""
MEMORY16_GB = "16g"
"""MEMORY16_GB."""
MEMORY64_GB = "64g"
"""MEMORY64_GB."""
Comment on lines +823 to +824
DEFAULT2024_11_15 = "default-2024-11-15"
"""DEFAULT2024_11_15."""
Comment on lines +1059 to +1060
WEB_SEARCH_PREVIEW2025_03_11 = "web_search_preview_2025_03_11"
"""WEB_SEARCH_PREVIEW2025_03_11."""
Comment on lines +1113 to +1114
A2_A_PREVIEW = "a2a_preview"
"""A2_A_PREVIEW."""
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