Skip to content

After an extension update notification is shown, extension commands fail to execute #6608

@JeffreyCA

Description

@JeffreyCA

There seems to be a bug with the extension update notification logic where if you execute an ext command like azd ai finetuning init and the update notification is shown, the next invocation of the extension fails to be recognized:

vscode ➜ /workspaces/fine $ azd ai finetuning init
Creating fine-tuning Job definition...
? Enter base model name for fine tuning  (defaults to model name): gpt-4o-mini
? Enter fine-tuning method (defaults to supervised): supervised
Base model : gpt-4o-mini, Fine-tuning method: supervised
Created fine-tuning job template at: /workspaces/fine/config/job.yaml

Initialized fine-tuning Project.
WARNING: A new version of extension 'Foundry Fine Tuning (Preview)' is available: 0.0.11-preview -> 0.0.12-preview
  • To upgrade: azd extension upgrade azure.ai.finetune
  • To upgrade all: azd extension upgrade --all

vscode ➜ /workspaces/fine $ azd ai finetuning init

Commands for the ai extension namespace.

Usage
  azd ai [command]

Available Commands
  agent : Extension for the Foundry Agent Service. (Preview)

Global Flags
    -C, --cwd string    : Sets the current working directory.
        --debug         : Enables debugging and diagnostics logging.
        --docs          : Opens the documentation for azd ai in your web browser.
    -h, --help          : Gets help for ai.
        --no-prompt     : Accepts the default value instead of prompting, or it fails if there is no default.

Use azd ai [command] --help to view examples and more information about a specific command.

Find a bug? Want to let us know how we're doing? Fill out this brief survey: https://aka.ms/azure-dev/hats.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions