Emit from TypeSpec branch dargilco/try-new-client-decorators#47422
Open
dargilco wants to merge 3 commits into
Open
Emit from TypeSpec branch dargilco/try-new-client-decorators#47422dargilco wants to merge 3 commits into
dargilco/try-new-client-decorators#47422dargilco wants to merge 3 commits into
Conversation
Contributor
There was a problem hiding this comment.
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
additionalDirectoriesset) 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.""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.