Skip to content

Commit

Permalink
default provider
Browse files Browse the repository at this point in the history
  • Loading branch information
nvms committed Jun 30, 2023
1 parent e46346f commit df81c7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ function createCommandMap(templates: Command[]) {
const allCommands = templates.map((template) => {
return {
...template,
provider: template.provider ?? AIProvider.OpenAI,
command: template.command ? `wingman.command.${template.command}` : `wingman.command.${generateCommandName(template)}-${randomString()}`,
category: template.category ?? BuiltinCategory.Misc,
};
Expand Down

0 comments on commit df81c7d

Please sign in to comment.