Skip to content

Commit 1688ff5

Browse files
committed
Merge branch 'anatolib/customer-service-sample' of https://github.com/Azure/azure-functions-durable-python into anatolib/customer-service-sample
2 parents 7d6db13 + bbe3924 commit 1688ff5

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

samples-v2/openai_agents/function_app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import azure.functions as func
77
import azure.durable_functions as df
88

9-
from azure.identity import DefaultAzureCredential
9+
from azure.identity import AzureCliCredential
1010
from openai import AsyncAzureOpenAI
1111

1212
from agents import set_default_openai_client
@@ -15,7 +15,7 @@
1515
#region Regular Azure OpenAI setup
1616

1717
# Initialize Azure credential
18-
credential = DefaultAzureCredential()
18+
credential = AzureCliCredential()
1919

2020
# Token provider function that returns the token
2121
def get_azure_token():

samples-v2/openai_agents/host.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@
1010
},
1111
"extensions": {
1212
"durableTask": {
13-
"storageProvider": {
14-
"type": "azureManaged",
15-
"connectionStringName": "DURABLE_TASK_SCHEDULER_CONNECTION_STRING"
16-
},
17-
"hubName": "%TASKHUB_NAME%"
1813
}
1914
},
2015
"extensionBundle": {

0 commit comments

Comments
 (0)