fix: Update HTTP-Referer in Teto AI headers to point to the correct file location

This commit is contained in:
Slipstream 2025-05-17 15:24:23 -06:00
parent d366584037
commit eccc670823
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 = (