[AI Manager] Add manager aliases to nested commands - #10230
Conversation
|
Hi Jessie (@techworldhello), |
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
There was a problem hiding this comment.
Pull request overview
Adds user-friendly aliases for the AI Manager name parameter in nested aimanager commands, and bumps the aimanager extension to v1.5.0 to publish the change.
Changes:
- Add
--managerand-mas aliases for--aimanager-nameonaz aimanager modelsourceandaz aimanager namespace modeldeployment. - Bump extension version to
1.5.0and update changelog/metadata accordingly. - Update scenario tests to use the new aliases.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/aimanager/setup.py | Bumps extension package version to 1.5.0. |
| src/aimanager/HISTORY.rst | Documents the new --manager/-m aliases in release notes. |
| src/aimanager/azext_aimanager/tests/latest/test_modelsource_scenario.py | Updates modelsource scenario command prefix to use --manager. |
| src/aimanager/azext_aimanager/tests/latest/test_modeldeployment_scenario.py | Updates modeldeployment scenario command prefix to use -m. |
| src/aimanager/azext_aimanager/azext_metadata.json | Updates extension metadata version to 1.5.0. |
| src/aimanager/azext_aimanager/_params.py | Adds --manager and -m to ai_manager_name options for the relevant command groups. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
39767e8 to
aa58a36
Compare
|
AI Manager |
aa58a36 to
f64c0fe
Compare
|
Looks good to me |
|
/azp run |
|
Azure Pipelines: Successfully started running 2 pipeline(s). |
|
[Release] Update index.json for extension [ aimanager-1.4.1 ] : https://dev.azure.com/msazure/One/_build/results?buildId=177244564&view=results |
🤖 PR Validation —⚠️ Review suggested
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
Support --manager and -m for aimanager modelsource and namespace
modeldeployment commands. Bump the extension version to 1.4.1 as its a minor fix.
General Guidelines
azdev style <YOUR_EXT>locally? (pip install azdevrequired)python scripts/ci/test_index.py -qlocally? (pip install azdevrequired)For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update
src/index.jsonautomatically.You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify
src/index.json.