fix: Standardize OpenAI API key environment variable naming (#1001) (#2629)

- Replace OPENAI_APIKEY with OPENAI_API_KEY across all samples
- Replace AZURE_FOUNDRY_OPENAI_APIKEY with AZURE_FOUNDRY_OPENAI_API_KEY
- Ensures consistency with OpenAI's standard naming convention
- Applies to .NET and Python samples

Fixes #1001

Co-authored-by: Alexander Zarei <alzarei@users.noreply.github.com>
This commit is contained in:
Alexander Zarei
2025-12-10 02:33:35 -08:00
committed by GitHub
Unverified
parent 7be860e4c4
commit 2f0b2db12a
15 changed files with 15 additions and 15 deletions
@@ -247,7 +247,7 @@ model:
Each sample can be run independently. Make sure you have the required environment variables set:
- For Azure samples: Ensure you're logged in via Azure CLI (`az login`)
- For OpenAI samples: Set `OPENAI_APIKEY` environment variable
- For OpenAI samples: Set `OPENAI_API_KEY` environment variable
```bash
# Run a specific sample