This commit is contained in:
Slipstream 2025-05-13 10:49:07 -06:00
parent 4827fdd450
commit 3c95470f55
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -51,7 +51,7 @@ async def _owoify_text_ai(text: str) -> str:
api_key = os.getenv("AI_API_KEY")
if not api_key:
raise RuntimeError("AI_API_KEY environment variable not set.")
url = "https://openrouter.ai/v1/chat/completions"
url = "https://openrouter.ai/api/v1/chat/completions"
headers = {
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json"