Description
None of the 7 durabletask/ samples (01-07) provide a .env.example or .env.template file. Users must read the README or dig through source code to discover which environment variables are needed.
This is inconsistent with the foundry-hosted-agents/ samples which consistently include .env.example files.
Affected Samples
python/samples/04-hosting/durabletask/01_single_agent/ — needs FOUNDRY_PROJECT_ENDPOINT, FOUNDRY_MODEL
python/samples/04-hosting/durabletask/02_multi_agent/ — needs AZURE_OPENAI_ENDPOINT, AZURE_OPENAI_MODEL
python/samples/04-hosting/durabletask/03_single_agent_streaming/ — needs FOUNDRY_PROJECT_ENDPOINT, FOUNDRY_MODEL, REDIS_CONNECTION_STRING
python/samples/04-hosting/durabletask/04_single_agent_orchestration_chaining/ — needs FOUNDRY_PROJECT_ENDPOINT, FOUNDRY_MODEL
python/samples/04-hosting/durabletask/05_multi_agent_orchestration_concurrency/ — needs FOUNDRY_PROJECT_ENDPOINT, FOUNDRY_MODEL
python/samples/04-hosting/durabletask/06_multi_agent_orchestration_conditionals/ — needs AZURE_OPENAI_ENDPOINT, AZURE_OPENAI_MODEL
python/samples/04-hosting/durabletask/07_single_agent_orchestration_hitl/ — needs FOUNDRY_PROJECT_ENDPOINT, FOUNDRY_MODEL
Suggested Fix
Add a .env.example file to each sample listing the required environment variables with placeholder values, matching the pattern used in foundry-hosted-agents/.
Example:
FOUNDRY_PROJECT_ENDPOINT="https://your-project.services.ai.azure.com/api/projects/your-project"
FOUNDRY_MODEL="your-deployment-name"
Environment
- Python 3.13.13, Windows 11
Description
None of the 7
durabletask/samples (01-07) provide a.env.exampleor.env.templatefile. Users must read the README or dig through source code to discover which environment variables are needed.This is inconsistent with the
foundry-hosted-agents/samples which consistently include.env.examplefiles.Affected Samples
python/samples/04-hosting/durabletask/01_single_agent/— needsFOUNDRY_PROJECT_ENDPOINT,FOUNDRY_MODELpython/samples/04-hosting/durabletask/02_multi_agent/— needsAZURE_OPENAI_ENDPOINT,AZURE_OPENAI_MODELpython/samples/04-hosting/durabletask/03_single_agent_streaming/— needsFOUNDRY_PROJECT_ENDPOINT,FOUNDRY_MODEL,REDIS_CONNECTION_STRINGpython/samples/04-hosting/durabletask/04_single_agent_orchestration_chaining/— needsFOUNDRY_PROJECT_ENDPOINT,FOUNDRY_MODELpython/samples/04-hosting/durabletask/05_multi_agent_orchestration_concurrency/— needsFOUNDRY_PROJECT_ENDPOINT,FOUNDRY_MODELpython/samples/04-hosting/durabletask/06_multi_agent_orchestration_conditionals/— needsAZURE_OPENAI_ENDPOINT,AZURE_OPENAI_MODELpython/samples/04-hosting/durabletask/07_single_agent_orchestration_hitl/— needsFOUNDRY_PROJECT_ENDPOINT,FOUNDRY_MODELSuggested Fix
Add a
.env.examplefile to each sample listing the required environment variables with placeholder values, matching the pattern used infoundry-hosted-agents/.Example:
Environment