diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 0770f92..39105f6 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,7 +4,10 @@
-
+
+
+
+
@@ -77,7 +80,8 @@
-
+
+
@@ -231,7 +235,15 @@
1704760592118
-
+
+
+ 1704760944356
+
+
+
+ 1704760944356
+
+
@@ -258,6 +270,7 @@
-
+
+
\ No newline at end of file
diff --git a/src/cogs/ollama.py b/src/cogs/ollama.py
index 013057c..a5f5f82 100644
--- a/src/cogs/ollama.py
+++ b/src/cogs/ollama.py
@@ -244,8 +244,6 @@ class Ollama(commands.Cog):
last_update = time.time()
async for line in self.ollama_stream(response.content):
- if not line["response"].strip("\n\r"):
- continue
embed.description += line["response"]
embed.timestamp = discord.utils.utcnow()
if len(embed.description) >= 4096:
@@ -261,7 +259,9 @@ class Ollama(commands.Cog):
await ctx.edit(embed=embed)
self.log.debug(f"Updating message ({last_update} -> {time.time()})")
last_update = time.time()
-
+ embed.title = "Done!"
+ embed.color = discord.Color.green()
+ await ctx.edit(embed=embed)
def setup(bot):
bot.add_cog(Ollama(bot))