Skip to content

Commit

Permalink
feat: workaround to use old name - declarativeCopilot
Browse files Browse the repository at this point in the history
  • Loading branch information
formulahendry committed Feb 6, 2025
1 parent 6729bb6 commit 848ab07
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ export async function createPluginWithApiSpec(args?: any[]): Promise<Result<any,
const inputs = getSystemInputs();
inputs[QuestionNames.ApiSpecLocation] = specPath;
inputs[QuestionNames.ApiPluginType] = ApiPluginStartOptions.apiSpec().id;
inputs.capabilities = CapabilityOptions.declarativeAgent().id;
inputs.capabilities = CapabilityOptions.declarativeCopilot().id;
inputs[QuestionNames.WithPlugin] = "yes";
inputs[QuestionNames.ProjectType] = ProjectTypeOptions.Agent().id;
inputs[QuestionNames.ProjectType] = ProjectTypeOptions.copilotExtension().id;

const result = await runCommand(Stage.create, inputs);

Expand Down

0 comments on commit 848ab07

Please sign in to comment.