diff --git a/src/slash-commands/sysprompt.js b/src/slash-commands/sysprompt.js index aac2f19..6d94444 100644 --- a/src/slash-commands/sysprompt.js +++ b/src/slash-commands/sysprompt.js @@ -10,8 +10,9 @@ module.exports = { async execute(interaction) { try { await interaction.deferReply({ephemeral: true}); - const sysPrompt = await fn.localLLM.getSysPrompt().catch(e => console.error(e)); - const sysPromptEmbed = fn.builders.embeds.sysPrompt(sysPrompt); + const sysPrompt = strings.ai.sysPrompt; + const model = strings.ai.localModel; + const sysPromptEmbed = fn.builders.embeds.sysPrompt(sysPrompt, model); await interaction.editReply(sysPromptEmbed); } catch (e) { console.error(e);