File size: 452 Bytes
ce151d0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""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','')}"}