Skip to content

fix: pass NGC API key to local NIM#57

Merged
rmkraus merged 1 commit into
NVIDIA-AI-Blueprints:stagingfrom
rmkraus:rkraus/fix-nim-ngc-api-key-env
Jun 23, 2026
Merged

fix: pass NGC API key to local NIM#57
rmkraus merged 1 commit into
NVIDIA-AI-Blueprints:stagingfrom
rmkraus:rkraus/fix-nim-ngc-api-key-env

Conversation

@rmkraus

@rmkraus rmkraus commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • pass NGC_API_KEY into the local llm-nim Compose service, falling back to NVIDIA_API_KEY for existing .env files
  • update the setup notebook generator so regenerated docker-compose.dev.yaml keeps the NGC_API_KEY wiring
  • update local setup .env handling to write NGC_API_KEY alongside NVIDIA_API_KEY
  • clear notebook outputs before committing

Verification

  • python3 -m json.tool notebooks/setup/complete_setup_guide.ipynb
  • parsed every notebook code cell with ast.parse
  • verified all notebook outputs/execution counts are cleared
  • docker compose -f deploy/compose/docker-compose.dev.yaml config
  • verified Compose fallback renders NGC_API_KEY from NVIDIA_API_KEY with synthetic keys
  • verified explicit NGC_API_KEY wins with synthetic keys
  • git diff --check

Closes #31

@rmkraus rmkraus changed the base branch from main to staging June 23, 2026 17:40
@rmkraus rmkraus force-pushed the rkraus/fix-nim-ngc-api-key-env branch from 306a2f9 to c6bae06 Compare June 23, 2026 17:44
@rmkraus rmkraus merged commit 6628201 into NVIDIA-AI-Blueprints:staging Jun 23, 2026
@rmkraus rmkraus deleted the rkraus/fix-nim-ngc-api-key-env branch June 23, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LLM Authentiacation failed

1 participant