From b7bb1b757bd4c8e652ca7b49ddb1886e48df306a Mon Sep 17 00:00:00 2001 From: Alireza Afzali Date: Tue, 19 May 2026 10:41:00 +0300 Subject: [PATCH 1/3] docs: add env example files for durabletask samples --- .../04-hosting/durabletask/01_single_agent/.env.example | 2 ++ .../04-hosting/durabletask/02_multi_agent/.env.example | 2 ++ .../durabletask/03_single_agent_streaming/.env.example | 4 ++++ .../04_single_agent_orchestration_chaining/.env.example | 2 ++ .../05_multi_agent_orchestration_concurrency/.env.example | 2 ++ .../06_multi_agent_orchestration_conditionals/.env.example | 2 ++ .../07_single_agent_orchestration_hitl/.env.example | 2 ++ 7 files changed, 16 insertions(+) create mode 100644 python/samples/04-hosting/durabletask/01_single_agent/.env.example create mode 100644 python/samples/04-hosting/durabletask/02_multi_agent/.env.example create mode 100644 python/samples/04-hosting/durabletask/03_single_agent_streaming/.env.example create mode 100644 python/samples/04-hosting/durabletask/04_single_agent_orchestration_chaining/.env.example create mode 100644 python/samples/04-hosting/durabletask/05_multi_agent_orchestration_concurrency/.env.example create mode 100644 python/samples/04-hosting/durabletask/06_multi_agent_orchestration_conditionals/.env.example create mode 100644 python/samples/04-hosting/durabletask/07_single_agent_orchestration_hitl/.env.example diff --git a/python/samples/04-hosting/durabletask/01_single_agent/.env.example b/python/samples/04-hosting/durabletask/01_single_agent/.env.example new file mode 100644 index 00000000000..b637c3c9c1a --- /dev/null +++ b/python/samples/04-hosting/durabletask/01_single_agent/.env.example @@ -0,0 +1,2 @@ +FOUNDRY_PROJECT_ENDPOINT="..." +FOUNDRY_MODEL="..." diff --git a/python/samples/04-hosting/durabletask/02_multi_agent/.env.example b/python/samples/04-hosting/durabletask/02_multi_agent/.env.example new file mode 100644 index 00000000000..00a7fc8da32 --- /dev/null +++ b/python/samples/04-hosting/durabletask/02_multi_agent/.env.example @@ -0,0 +1,2 @@ +AZURE_OPENAI_ENDPOINT="..." +AZURE_OPENAI_MODEL="..." diff --git a/python/samples/04-hosting/durabletask/03_single_agent_streaming/.env.example b/python/samples/04-hosting/durabletask/03_single_agent_streaming/.env.example new file mode 100644 index 00000000000..fc4c371a9f7 --- /dev/null +++ b/python/samples/04-hosting/durabletask/03_single_agent_streaming/.env.example @@ -0,0 +1,4 @@ +FOUNDRY_PROJECT_ENDPOINT="..." +FOUNDRY_MODEL="..." +REDIS_CONNECTION_STRING="..." +REDIS_STREAM_TTL_MINUTES="10" diff --git a/python/samples/04-hosting/durabletask/04_single_agent_orchestration_chaining/.env.example b/python/samples/04-hosting/durabletask/04_single_agent_orchestration_chaining/.env.example new file mode 100644 index 00000000000..b637c3c9c1a --- /dev/null +++ b/python/samples/04-hosting/durabletask/04_single_agent_orchestration_chaining/.env.example @@ -0,0 +1,2 @@ +FOUNDRY_PROJECT_ENDPOINT="..." +FOUNDRY_MODEL="..." diff --git a/python/samples/04-hosting/durabletask/05_multi_agent_orchestration_concurrency/.env.example b/python/samples/04-hosting/durabletask/05_multi_agent_orchestration_concurrency/.env.example new file mode 100644 index 00000000000..b637c3c9c1a --- /dev/null +++ b/python/samples/04-hosting/durabletask/05_multi_agent_orchestration_concurrency/.env.example @@ -0,0 +1,2 @@ +FOUNDRY_PROJECT_ENDPOINT="..." +FOUNDRY_MODEL="..." diff --git a/python/samples/04-hosting/durabletask/06_multi_agent_orchestration_conditionals/.env.example b/python/samples/04-hosting/durabletask/06_multi_agent_orchestration_conditionals/.env.example new file mode 100644 index 00000000000..00a7fc8da32 --- /dev/null +++ b/python/samples/04-hosting/durabletask/06_multi_agent_orchestration_conditionals/.env.example @@ -0,0 +1,2 @@ +AZURE_OPENAI_ENDPOINT="..." +AZURE_OPENAI_MODEL="..." diff --git a/python/samples/04-hosting/durabletask/07_single_agent_orchestration_hitl/.env.example b/python/samples/04-hosting/durabletask/07_single_agent_orchestration_hitl/.env.example new file mode 100644 index 00000000000..b637c3c9c1a --- /dev/null +++ b/python/samples/04-hosting/durabletask/07_single_agent_orchestration_hitl/.env.example @@ -0,0 +1,2 @@ +FOUNDRY_PROJECT_ENDPOINT="..." +FOUNDRY_MODEL="..." From bc26a9d471ba76a0827660de6613240579f33c89 Mon Sep 17 00:00:00 2001 From: Alireza Afzali Date: Tue, 19 May 2026 11:16:30 +0300 Subject: [PATCH 2/3] docs: clarify env example values and comments --- .../durabletask/01_single_agent/.env.example | 7 +++++-- .../durabletask/02_multi_agent/.env.example | 7 +++++-- .../03_single_agent_streaming/.env.example | 14 ++++++++++---- .../.env.example | 7 +++++-- .../.env.example | 7 +++++-- .../.env.example | 7 +++++-- .../.env.example | 7 +++++-- 7 files changed, 40 insertions(+), 16 deletions(-) diff --git a/python/samples/04-hosting/durabletask/01_single_agent/.env.example b/python/samples/04-hosting/durabletask/01_single_agent/.env.example index b637c3c9c1a..30f5c34228f 100644 --- a/python/samples/04-hosting/durabletask/01_single_agent/.env.example +++ b/python/samples/04-hosting/durabletask/01_single_agent/.env.example @@ -1,2 +1,5 @@ -FOUNDRY_PROJECT_ENDPOINT="..." -FOUNDRY_MODEL="..." +# Azure AI Foundry project endpoint URL, e.g. https://your-project.services.ai.azure.com/api/projects/your-project +FOUNDRY_PROJECT_ENDPOINT= + +# Model deployment name in your Foundry project +FOUNDRY_MODEL= diff --git a/python/samples/04-hosting/durabletask/02_multi_agent/.env.example b/python/samples/04-hosting/durabletask/02_multi_agent/.env.example index 00a7fc8da32..fbb0778107d 100644 --- a/python/samples/04-hosting/durabletask/02_multi_agent/.env.example +++ b/python/samples/04-hosting/durabletask/02_multi_agent/.env.example @@ -1,2 +1,5 @@ -AZURE_OPENAI_ENDPOINT="..." -AZURE_OPENAI_MODEL="..." +# Azure OpenAI resource endpoint URL, e.g. https://your-resource.openai.azure.com/ +AZURE_OPENAI_ENDPOINT= + +# Azure OpenAI model deployment name +AZURE_OPENAI_MODEL= diff --git a/python/samples/04-hosting/durabletask/03_single_agent_streaming/.env.example b/python/samples/04-hosting/durabletask/03_single_agent_streaming/.env.example index fc4c371a9f7..c2b6a3af7e1 100644 --- a/python/samples/04-hosting/durabletask/03_single_agent_streaming/.env.example +++ b/python/samples/04-hosting/durabletask/03_single_agent_streaming/.env.example @@ -1,4 +1,10 @@ -FOUNDRY_PROJECT_ENDPOINT="..." -FOUNDRY_MODEL="..." -REDIS_CONNECTION_STRING="..." -REDIS_STREAM_TTL_MINUTES="10" +# Azure AI Foundry project endpoint URL, e.g. https://your-project.services.ai.azure.com/api/projects/your-project +FOUNDRY_PROJECT_ENDPOINT= + +# Model deployment name in your Foundry project +FOUNDRY_MODEL= + +# Redis connection string (defaults to redis://localhost:6379 if unset) +REDIS_CONNECTION_STRING= + +REDIS_STREAM_TTL_MINUTES=10 # Stream key TTL in minutes; use a positive integer (default: 10). Non-positive values remove keys immediately (Redis EXPIRE). diff --git a/python/samples/04-hosting/durabletask/04_single_agent_orchestration_chaining/.env.example b/python/samples/04-hosting/durabletask/04_single_agent_orchestration_chaining/.env.example index b637c3c9c1a..30f5c34228f 100644 --- a/python/samples/04-hosting/durabletask/04_single_agent_orchestration_chaining/.env.example +++ b/python/samples/04-hosting/durabletask/04_single_agent_orchestration_chaining/.env.example @@ -1,2 +1,5 @@ -FOUNDRY_PROJECT_ENDPOINT="..." -FOUNDRY_MODEL="..." +# Azure AI Foundry project endpoint URL, e.g. https://your-project.services.ai.azure.com/api/projects/your-project +FOUNDRY_PROJECT_ENDPOINT= + +# Model deployment name in your Foundry project +FOUNDRY_MODEL= diff --git a/python/samples/04-hosting/durabletask/05_multi_agent_orchestration_concurrency/.env.example b/python/samples/04-hosting/durabletask/05_multi_agent_orchestration_concurrency/.env.example index b637c3c9c1a..30f5c34228f 100644 --- a/python/samples/04-hosting/durabletask/05_multi_agent_orchestration_concurrency/.env.example +++ b/python/samples/04-hosting/durabletask/05_multi_agent_orchestration_concurrency/.env.example @@ -1,2 +1,5 @@ -FOUNDRY_PROJECT_ENDPOINT="..." -FOUNDRY_MODEL="..." +# Azure AI Foundry project endpoint URL, e.g. https://your-project.services.ai.azure.com/api/projects/your-project +FOUNDRY_PROJECT_ENDPOINT= + +# Model deployment name in your Foundry project +FOUNDRY_MODEL= diff --git a/python/samples/04-hosting/durabletask/06_multi_agent_orchestration_conditionals/.env.example b/python/samples/04-hosting/durabletask/06_multi_agent_orchestration_conditionals/.env.example index 00a7fc8da32..fbb0778107d 100644 --- a/python/samples/04-hosting/durabletask/06_multi_agent_orchestration_conditionals/.env.example +++ b/python/samples/04-hosting/durabletask/06_multi_agent_orchestration_conditionals/.env.example @@ -1,2 +1,5 @@ -AZURE_OPENAI_ENDPOINT="..." -AZURE_OPENAI_MODEL="..." +# Azure OpenAI resource endpoint URL, e.g. https://your-resource.openai.azure.com/ +AZURE_OPENAI_ENDPOINT= + +# Azure OpenAI model deployment name +AZURE_OPENAI_MODEL= diff --git a/python/samples/04-hosting/durabletask/07_single_agent_orchestration_hitl/.env.example b/python/samples/04-hosting/durabletask/07_single_agent_orchestration_hitl/.env.example index b637c3c9c1a..30f5c34228f 100644 --- a/python/samples/04-hosting/durabletask/07_single_agent_orchestration_hitl/.env.example +++ b/python/samples/04-hosting/durabletask/07_single_agent_orchestration_hitl/.env.example @@ -1,2 +1,5 @@ -FOUNDRY_PROJECT_ENDPOINT="..." -FOUNDRY_MODEL="..." +# Azure AI Foundry project endpoint URL, e.g. https://your-project.services.ai.azure.com/api/projects/your-project +FOUNDRY_PROJECT_ENDPOINT= + +# Model deployment name in your Foundry project +FOUNDRY_MODEL= From be972dfaaeecafa4c59edcf19dbbf18e0efee124 Mon Sep 17 00:00:00 2001 From: Alireza Afzali Date: Thu, 9 Jul 2026 22:42:09 +0300 Subject: [PATCH 3/3] docs: set default Redis URL in streaming sample env example --- .../durabletask/03_single_agent_streaming/.env.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/samples/04-hosting/durabletask/03_single_agent_streaming/.env.example b/python/samples/04-hosting/durabletask/03_single_agent_streaming/.env.example index c2b6a3af7e1..407e5e60ea3 100644 --- a/python/samples/04-hosting/durabletask/03_single_agent_streaming/.env.example +++ b/python/samples/04-hosting/durabletask/03_single_agent_streaming/.env.example @@ -5,6 +5,6 @@ FOUNDRY_PROJECT_ENDPOINT= FOUNDRY_MODEL= # Redis connection string (defaults to redis://localhost:6379 if unset) -REDIS_CONNECTION_STRING= +REDIS_CONNECTION_STRING=redis://localhost:6379 REDIS_STREAM_TTL_MINUTES=10 # Stream key TTL in minutes; use a positive integer (default: 10). Non-positive values remove keys immediately (Redis EXPIRE).