Copy endpoint and deployment name to .env
From the Foundry project page, copy the endpoint URL and the deployment name. Paste them into a local .env file. Commit only .env.example.
# .env (gitignored)
AZURE_OPENAI_ENDPOINT="https://<your-foundry-endpoint>/"
AZURE_OPENAI_API_KEY="<key-from-foundry>"
AZURE_OPENAI_DEPLOYMENT="gpt-4o-mini"
AZURE_OPENAI_API_VERSION="2024-12-01-preview"