Skip to content

Commit

Permalink
Update prompt to be JSON stringified
Browse files Browse the repository at this point in the history
  • Loading branch information
exatombe committed Jan 4, 2024
1 parent 7658630 commit 2e5ffd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bot/commands/ai/advanced/imagine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export default async function AdvancedImagine(
model:generation.model,
}
}),
prompt: prompt.prompt,
prompt: JSON.stringify(prompt),
guildName: interaction.guild?.name || "DM",
});
let generations = status.generations;
Expand Down
2 changes: 1 addition & 1 deletion src/bot/commands/ai/imagine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export default async function Imagine(
model:generation.model,
}
}),
prompt: prompt.prompt,
prompt: JSON.stringify(prompt),
guildName: interaction.guild?.name || "DM",
});
let generations = status.generations;
Expand Down

0 comments on commit 2e5ffd8

Please sign in to comment.