diff --git a/src/cogs/ollama.py b/src/cogs/ollama.py index 291518d..a410152 100644 --- a/src/cogs/ollama.py +++ b/src/cogs/ollama.py @@ -1209,7 +1209,7 @@ class Ollama(commands.Cog): - The channels to search through. If not provided, the current channel will be searched. - A query to ask """ - search = max(10, min(search, 1000)) + search = max(10, min(search, 10000)) channels = channels or [ctx.channel] messages: list[discord.Message] = [] msg = await ctx.reply("Gathering messages, please wait. This may take a while.") @@ -1224,7 +1224,7 @@ class Ollama(commands.Cog): await msg.edit(content="Preparing AI...") system = ( - "You are {0.mention!r}, a member of the discord server {0.guild.name!r}. You have been provided with" + "You are {0.display_name!r}, a member of the discord server {0.guild.name!r}. You have been provided with" " your message history. You should generate a new message based on the content of the messages provided. " "You should not repeat a message. You should write a message that is under 4000 characters. " "You should not include any pleasentries, only the message that you would send. Your messages have been "