fix: Update HTTP-Referer in Teto AI headers to point to the correct file location
This commit is contained in:
parent
d366584037
commit
eccc670823
@ -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
|
||||
|
@ -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 = (
|
||||
|
Loading…
x
Reference in New Issue
Block a user