/commit slash command

This commit is contained in:
Nate Sesti 2024-05-27 10:57:33 -07:00
parent 645d267376
commit db1457838d
2 changed files with 15 additions and 1 deletions

View File

@ -2,6 +2,7 @@ import {
ContextProviderWithParams,
ModelDescription,
SerializedContinueConfig,
SlashCommandDescription,
} from "../index.js";
export const FREE_TRIAL_MODELS: ModelDescription[] = [
@ -60,7 +61,7 @@ export const defaultConfigJetBrains: SerializedContinueConfig = {
},
};
export const defaultSlashCommandsVscode = [
export const defaultSlashCommandsVscode: SlashCommandDescription[] = [
{
name: "edit",
description: "Edit selected code",
@ -77,6 +78,10 @@ export const defaultSlashCommandsVscode = [
name: "cmd",
description: "Generate a shell command",
},
{
name: "commit",
description: "Generate a git commit message",
},
];
export const defaultSlashCommandsJetBrains = [
@ -92,6 +97,10 @@ export const defaultSlashCommandsJetBrains = [
name: "share",
description: "Export the current chat session to markdown",
},
{
name: "commit",
description: "Generate a git commit message",
},
];
export const defaultContextProvidersVsCode: ContextProviderWithParams[] = [

View File

@ -241,6 +241,11 @@ const configs: SiteIndexingConfig[] = [
startUrl: "https://alpinejs.dev/start-here",
rootUrl: "https://alpinejs.dev/",
},
{
title: "C# Language Reference",
startUrl: "https://learn.microsoft.com/en-us/dotnet/csharp/",
rootUrl: "https://learn.microsoft.com/en-us/dotnet/csharp/",
},
];
export default configs;