Fix variables and calls
This commit is contained in:
parent
66c07f0c9d
commit
20e75781b0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user