Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix(test): set dummy NVIDIA_API_KEY in nvidia PI runtime test

7 months ago

7ba4c22
Authored
mweinbach3/15/2026, 11:03:56 PM
The test mocks globalThis.fetch but the PI runtime resolves the API key
from NVIDIA_API_KEY before making requests. Without the env var set, the
runtime sends no auth and the real server returns an error — failing CI
where no key is configured.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

Parent1f107e6

1 file changed
  • test/runtime.pi-runtime.test.ts+59−57