Agent-Q3 / shared /auth.py
madDegen's picture
consolidate: shared auth helpers
ce151d0 verified
"""Agent Q3 — Shared Auth Helpers"""
import os
def hf_headers() -> dict:
return {"Authorization": f"Bearer {os.getenv('HF_TOKEN','')}"}
def openrouter_headers() -> dict:
return {
"Authorization": f"Bearer {os.getenv('OPENROUTER_API_KEY','')}",
"HTTP-Referer": "https://madgambit.io",
"X-Title": "Agent Q3"
}
def runpod_headers() -> dict:
return {"Authorization": f"Bearer {os.getenv('RUNPOD_API_KEY','')}"}