From eccc670823f17ed759b96557bdd761842c177fec Mon Sep 17 00:00:00 2001 From: Slipstream Date: Sat, 17 May 2025 15:24:23 -0600 Subject: [PATCH] fix: Update HTTP-Referer in Teto AI headers to point to the correct file location --- cogs/roleplay_teto_cog.py | 2 +- cogs/teto_cog.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/roleplay_teto_cog.py b/cogs/roleplay_teto_cog.py index 7017b1d..acc7b1a 100644 --- a/cogs/roleplay_teto_cog.py +++ b/cogs/roleplay_teto_cog.py @@ -46,7 +46,7 @@ async def _teto_reply_ai_with_messages(messages, system_mode="reply", model_over headers = { "Authorization": f"Bearer {api_key}", "Content-Type": "application/json", - "HTTP-Referer": "https://github.com/Slipstreamm/discordbot", + "HTTP-Referer": "https://github.com/Slipstreamm/discordbot/blob/master/cogs/roleplay_teto_cog.py", "X-Title": "Roleplay Teto AI" } # Combined system prompt diff --git a/cogs/teto_cog.py b/cogs/teto_cog.py index 930ece1..c9f0d97 100644 --- a/cogs/teto_cog.py +++ b/cogs/teto_cog.py @@ -36,7 +36,7 @@ class TetoCog(commands.Cog): headers = { "Authorization": f"Bearer {api_key}", "Content-Type": "application/json", - "HTTP-Referer": "https://github.com/Slipstreamm/discordbot", + "HTTP-Referer": "https://github.com/Slipstreamm/discordbot/blob/master/cogs/teto_cog.py", "X-Title": "Teto AI" } system_prompt = (