Skip to content

Improve error message when specific extension version not found #9538

Description

@tg-msft

If you try running azd ext install azure.ai.agents --version 1.0.0 today, you get this output:

Install an azd extension (azd extension install)
Installs the specified extension onto the local machine.

  (x) Failed: Installing azure.ai.agents extension

ERROR: no extensions found

It would be MUCH more helpful if we changed the error to say "version X was not found, latest version is Y" so people don't think they messed up completely. We could even offer a Y/n prompt to see if they want to install the latest version instead.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions