Sema4AI / vscode-extension

Sema4.ai extension for VS Code: AI Actions and Automation development for Python
https://sema4.ai/docs/platform/vs-code
Apache License 2.0
6 stars 0 forks source link

Create and Pack Agent Package command should use the agent names from yaml file #75

Open OvidiuCode opened 1 month ago

OvidiuCode commented 1 month ago

Describe the bug

  1. When you create a new agent package the input name should be the agent name in agent-spec.yaml
  2. When you pack an agent package the selection should show the agent names instead of the directory name. If there are multiple agents with the same name (can happen if there is a copy-paste operation) we should also show the directory name so we avoid the confusion.

We need to change to agent names so we are aligned with the Studio.

To Reproduce

  1. Create a new agent package within VSCode and see that the name provided will be the name of the dir and not of the agent within agent-spec.yaml
  2. Pack an agent selection will show all the directories instead of the agent names.