AI Orchestrator - Smart routing between Ollama (free) and RunPod (GPU)
  • Python 87.5%
  • Shell 8.2%
  • Dockerfile 4.3%
Find a file
Jeff Emmett f4fead6bea security: drop hardcoded RUNPOD_API_KEY from test_api.py
The key rpa_YYOAR…lwwfdz was hardcoded as a literal default in
test_api.py, mirroring the same anti-pattern already removed from
server.py in 514f9d8. The runtime key has since been rotated
(current prefix rpa_TNBI), so the literal value here is dead — but
it still violates the no-hardcoded-secrets policy and shouldn't sit
in git history going forward.

Replace with os.getenv("RUNPOD_API_KEY", "") to match server.py.

Note: the rotated/old literal still exists in git history (commits
before 514f9d8 + this commit). It's revoked, but for defense-in-
depth consider history scrubbing if the repo was ever public.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-28 09:06:53 -07:00
.dockerignore Add .dockerignore for optimized Docker builds 2026-02-21 17:59:08 -07:00
.env.example Initial commit: AI Orchestrator with Ollama + RunPod smart routing 2025-11-26 19:11:58 -08:00
.gitignore Initial commit: AI Orchestrator with Ollama + RunPod smart routing 2025-11-26 19:11:58 -08:00
docker-compose.yml chore(compose): reconcile to live state — drop ollama, use shared Infisical wrapper 2026-05-28 08:31:08 -07:00
Dockerfile Wire Infisical secret injection for RUNPOD_API_KEY 2026-02-24 09:32:34 -08:00
entrypoint.sh Wire Infisical secret injection for RUNPOD_API_KEY 2026-02-24 09:32:34 -08:00
requirements.txt Initial commit: AI Orchestrator with Ollama + RunPod smart routing 2025-11-26 19:11:58 -08:00
server.py fix: use sampling_params for RunPod vLLM max_tokens + add API key env 2026-03-23 10:15:12 -07:00
test_api.py security: drop hardcoded RUNPOD_API_KEY from test_api.py 2026-05-28 09:06:53 -07:00