Skip to content

Python: [Samples][Python] durabletask/ samples missing .env.example files #5400

@leestott

Description

@leestott

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

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationpython

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions