fix
This commit is contained in:
parent
4827fdd450
commit
3c95470f55
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user