fix: Update ephemeral flag in AI model change responses to improve visibility

This commit is contained in:
Slipstream 2025-05-30 13:20:06 -06:00
parent c374a1a835
commit 19f7d658fc
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -819,7 +819,7 @@ def setup_commands(cog: 'GurtCog'):
# If persistence is desired, you'd add something like:
# await cog.config_manager.set_default_model(new_model_id) # Assuming a config_manager exists
await interaction.followup.send(f"✅ Gurt's AI model has been changed to: **{new_model_friendly_name}** (`{new_model_id}`).", ephemeral=True)
await interaction.followup.send(f"✅ Gurt's AI model has been changed to: **{new_model_friendly_name}** (`{new_model_id}`).", ephemeral=False)
except Exception as e:
print(f"Error in /gurtmodel command: {e}")
import traceback
@ -838,7 +838,7 @@ def setup_commands(cog: 'GurtCog'):
# Try to get the friendly name from AVAILABLE_AI_MODELS
friendly_name = AVAILABLE_AI_MODELS.get(current_model_id, current_model_id) # Fallback to ID if not found
await interaction.followup.send(f"Gurt is currently using AI model: **{friendly_name}** (`{current_model_id}`).", ephemeral=True)
await interaction.followup.send(f"Gurt is currently using AI model: **{friendly_name}** (`{current_model_id}`).", ephemeral=False)
except Exception as e:
print(f"Error in /gurtgetmodel command: {e}")
import traceback