Skip to content
Merged
Show file tree
Hide file tree
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
7 changes: 7 additions & 0 deletions sdk/ai/azure-ai-projects/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

## 2.3.0 (Unreleased)

### Features Added

* Hosted agents are now stable. There is need to set `allow_preview=True` on the `AIProjectClient` constructor to create a Hosted agent.
* Toolboxes operations are now stable. The have moved from `.beta.toolboxes` subclient to the `.toolboxes` subclient.
* Session and Session files operations are now stable. They have moved from the `.beta.agents` subclient to the `.agents` subclient.
* 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.

### Breaking Changes

Breaking changes in beta methods:
Expand Down
24 changes: 0 additions & 24 deletions sdk/ai/azure-ai-projects/PostEmitter.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,6 @@
# See GitHub issue: https://github.com/microsoft/typespec/issues/10311
git restore pyproject.toml


# Edit both _operations.py files to fix missing Foundry-Features HTTP request header in continued list paging calls. Add:
# headers=_headers
# to the end of each of these lines in the BetaXxxOperations classes (do not do this in GA operations classes!)
# "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
# In emitted code, these first 7 of those lines are associated with GA operations, so start the replacement
# from the 8th occurrence onward.
$gaCount = 7
$old = [char]34 + 'GET' + [char]34 + ', urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params'
$new = $old + ', headers=_headers'
foreach ($f in 'azure\ai\projects\aio\operations\_operations.py', 'azure\ai\projects\operations\_operations.py') {
$c = Get-Content $f -Raw
$parts = $c -split [regex]::Escape($old)
$r = $parts[0]
for ($i = 1; $i -lt $parts.Length; $i++) {
if ($i -le $gaCount) {
$r += $old + $parts[$i]
} else {
$r += $new + $parts[$i]
}
}
Set-Content $f $r -NoNewline
}

# Force streaming in get_session_log_stream for both sync and async operations.
$files = 'azure\ai\projects\operations\_operations.py', 'azure\ai\projects\aio\operations\_operations.py'
foreach ($f in $files) {
Expand Down
Loading
Loading