mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-10 15:13:04 -04:00
update context window for gemini vision
This commit is contained in:
parent
b4bc83bf96
commit
7d8ad07009
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@ module.exports = {
|
|||
if(!canUseLimitedTestCommands(context)) return;
|
||||
context.triggerTyping();
|
||||
|
||||
let image = await getRecentImage(context, 50)
|
||||
if (!image) return editOrReply(context, createEmbed("warning", context, "No images found."))
|
||||
let image = await getRecentImage(context, 2)
|
||||
if (!image) return editOrReply(context, createEmbed("warning", context, "No images found. Reply if you want a specific image."))
|
||||
|
||||
if(!args.text) return editOrReply(context, createEmbed("warning", context, `Missing Parameter (text).`))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue