mirror of
https://github.com/Alishahryar1/free-claude-code.git
synced 2026-04-28 03:20:01 +00:00
When NVIDIA_NIM_API_KEY or OPENROUTER_API_KEY is empty or not set, the proxy forwarded requests without a valid Authorization header, causing providers to return 403 with 'Header of type authorization was missing'. Now fail fast with HTTP 503 and a clear message telling users to add the key to .env, with links to obtain keys. Fixes #29 Co-authored-by: Ali Khokhar <alishahryar2@gmail.com> |
||
|---|---|---|
| .. | ||
| models | ||
| __init__.py | ||
| app.py | ||
| command_utils.py | ||
| dependencies.py | ||
| detection.py | ||
| optimization_handlers.py | ||
| request_utils.py | ||
| routes.py | ||