ATHENEAV2-Q6 / app.py

Commit History

FJK
3471c60

Anthony Pacheco commited on

Revert n_threads to 4 - 8 threads causes hangs
c57bc03

Anthony Pacheco commited on

Increase n_threads from 4 to 8 for better CPU performance
2ce8492

Anthony Pacheco commited on

Fix content-type header logic for all body methods
710f514

Anthony Pacheco commited on

Add debug logging for backend response headers and body
28a88f0

Anthony Pacheco commited on

fix: Remove else block causing indentation error
22b2fd8

Anthony Pacheco commited on

debug: Temporarily disable auth to diagnose 400 error
4ec30b9

Anthony Pacheco commited on

fix: Serve HTML directly for public routes instead of proxying to backend
2f727f0

Anthony Pacheco commited on

fix: Allow public access to non-API routes (HF Spaces Log Viewer)
dffbccb

Anthony Pacheco commited on

fix: Add missing valid_key variable for auth check
63a6a6e

Anthony Pacheco commited on

fix: Read body before auth check to avoid UnboundLocalError
25655ee

Anthony Pacheco commited on

fix: Only read body for POST/PUT/PATCH methods to avoid UnboundLocalError
d0888da

Anthony Pacheco commited on

fix: Accept multiple auth formats for HF Spaces compatibility
d12e316

Anthony Pacheco commited on

fix: Add health endpoint without auth, add debug logging
d6abbc3

Anthony Pacheco commited on

debug: Add logging to trace 400 error
1bf229d

Anthony Pacheco commited on

fix: Strip authorization header before forwarding to backend
0403779

Anthony Pacheco commited on

feat: Add API key authentication for private Space access
a6f495d

Anthony Pacheco commited on

fix: Simplified proxy with better path handling and error handling
24f39fe

Anthony Pacheco commited on

fix: Use lifespan instead of deprecated on_event
e969b9c

Anthony Pacheco commited on

fix: Add FastAPI proxy to strip HF Spaces __sign parameter
573dc3a

Anthony Pacheco commited on