You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a successful emit, run the post-emitter fix script located in the `sdk/ai/azure-ai-projects` folder:
120
+
After a successful emit, run the PowerShell script named `PostEmitter.ps1`located in the `sdk/ai/azure-ai-projects` folder.
121
121
122
-
```
123
-
post-emitter-fixes.cmd
124
-
```
125
-
126
-
This script applies azure-ai-projects-specific corrections to the emitted code (restores `pyproject.toml`, fixes enum names, patches Sphinx doc-string issues, and runs `black` formatting).
122
+
This script applies azure-ai-projects specific corrections to the emitted code (restores `pyproject.toml`, fixes enum names, patches Sphinx doc-string issues, and runs `black` formatting).
127
123
128
124
**If the script fails**, stop and report the error to the user. Do not continue. Do not attempt to analyze the script failures and fix them with Copilot. The script should be fixed by the engineering team if it is not working.
129
125
@@ -174,7 +170,20 @@ In the folder `sdk\ai\azure-ai-projects`, run `pip install -e .` to install the
174
170
175
171
---
176
172
177
-
## Step 12: Commit and push
173
+
## Step 12: Run `apiview-stub-generator` to update api.md and api.metadata.yml files
174
+
175
+
In the root of the `azure-sdk-for-python` folder run the following commands
Create a draft PR from the **topic branch** to the **base branch** (recorded in Step 2):
194
203
@@ -205,7 +214,7 @@ Open a new tab in the default browser and navigate to the PR URL.
205
214
206
215
---
207
216
208
-
## Step 14: Optionally run tests locally
217
+
## Step 15: Optionally run tests locally
209
218
210
219
Prompt the user with this message: "Tests will run as part of the Pull Request. However, you can optionally run tests locally in a Python virtual environment, right now. It will take a few minutes. Do you want to run tests locally? (yes/no)"
Copy file name to clipboardExpand all lines: sdk/ai/azure-ai-projects/CHANGELOG.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,8 @@
4
4
5
5
### Features Added
6
6
7
-
* Hosted agents are now stable. There is need to set `allow_preview=True` on the `AIProjectClient` constructor to create a Hosted agent.
7
+
* Two new methods `enable` and `disable` on the `.agents` subclient.
8
+
* Hosted agents are now stable. There is no need to set `allow_preview=True` on the `AIProjectClient` constructor to create a Hosted agent.
8
9
* Toolboxes operations are now stable. The have moved from `.beta.toolboxes` subclient to the `.toolboxes` subclient.
9
10
* Session and Session files operations are now stable. They have moved from the `.beta.agents` subclient to the `.agents` subclient.
10
11
* Agent code operations are now stable. This includes `create_version_from_code` and `download_code`. They have moved from the `.beta.agents` subclient to the `.agents` subclient.
0 commit comments