Skip to content

API Cleanup initial pass(merge sqush jugonzales/agents-optimization-v2preview)#43927

Merged
glecaros merged 5 commits into
Azure:feature/foundry-releasefrom
YoYoJa:jessli/Optimize-clean2
Jun 12, 2026
Merged

API Cleanup initial pass(merge sqush jugonzales/agents-optimization-v2preview)#43927
glecaros merged 5 commits into
Azure:feature/foundry-releasefrom
YoYoJa:jessli/Optimize-clean2

Conversation

@YoYoJa

@YoYoJa YoYoJa commented Jun 11, 2026

Copy link
Copy Markdown

…optimization-v2preview

Choose a PR Template

Switch to "Preview" on this description then select one of the choices below.

Click here to open a PR for a Data Plane API.

Click here to open a PR for a Control Plane (ARM) API.

Click here to open a PR for only SDK configuration.

@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown

Next Steps to Merge

Important checks have failed. As of today they are not blocking this PR, but in near future they may.
Addressing the following failures is highly recommended:
  • ⚠️ The check named Swagger BreakingChange has failed. To unblock this PR, follow the process at aka.ms/brch.
If you still want to proceed merging this PR without addressing the above failures, refer to step 4 in the PR workflow diagram.

Comment generated by summarize-checks workflow run.

@github-actions github-actions Bot added data-plane TypeSpec Authored with TypeSpec labels Jun 11, 2026
@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown

API Change Check

APIView identified API level changes in this PR and created the following API reviews

Language API Review for Package
TypeSpec Azure.AI.Projects
Python azure-ai-projects
JavaScript @azure/ai-projects

Comment generated by After APIView workflow run.

data_generation_jobs_v1_preview: "DataGenerationJobs=V1Preview",
models_v1_preview: "Models=V1Preview",
agents_optimization_v1_preview: "AgentsOptimization=V1Preview",
agents_optimization_v2_preview: "AgentsOptimization=V2Preview",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

asked in the other PR, is there a strong reason not to use the opt-in key we were using before?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

As V2 removed lots of useless properties from V1 to align with the job guidelines more correctly, but V1 is already released in previous sdk version per Justin, so bumped to V2 here to make it less confusion.
And service side is still supporting V1 as a backward now for smooth inergration from UI and kinds of tests platform while rollout the change.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

the whole point of the endpoints being in preview, is to signal users that breaking changes are to be expected, not sure the value we are adding by replacing the string for the opt-in key.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

We still need do backward from service side, since UI and kinds of our tests also need time to rollout to different region to switch from V1 to V2.

Comment thread specification/ai-foundry/data-plane/Foundry/src/agents-optimization/models.tsp Outdated
@glecaros glecaros merged commit daccc7f into Azure:feature/foundry-release Jun 12, 2026
26 of 39 checks passed
glecaros pushed a commit to daniel-rodrigues809/azure-rest-api-specs that referenced this pull request Jun 17, 2026
…2preview) (Azure#43927)

* rebase to /feature/foundry-release and merge sqush jugonzales/agents-optimization-v2preview

* resolve missing file

* address comment for minValue of max_candidates

* address comments of OptimizationInlineDatasetInput.type

* address coment of OptimizationJobListItem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data-plane TypeSpec Authored with TypeSpec

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants