File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ async def init_ai_foundry_client():
170170
171171 ai_project_client = AIProjectClient (
172172 endpoint = app_settings .azure_ai .agent_endpoint ,
173- credential = await get_azure_credential_async (client_id = app_settings . base_settings . azure_client_id )
173+ credential = await get_azure_credential_async ()
174174 )
175175 track_event_if_configured ("AIFoundryAgentEndpointUsed" , {
176176 "endpoint" : app_settings .azure_ai .agent_endpoint
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ async def create_or_get_agent(cls):
2020 """
2121 project_client = AIProjectClient (
2222 endpoint = app_settings .azure_ai .agent_endpoint ,
23- credential = await get_azure_credential_async (client_id = app_settings . base_settings . azure_client_id ),
23+ credential = await get_azure_credential_async (),
2424 api_version = app_settings .azure_ai .agent_api_version
2525 )
2626
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ async def create_or_get_agent(cls):
1919 """
2020 project_client = AIProjectClient (
2121 endpoint = app_settings .azure_ai .agent_endpoint ,
22- credential = await get_azure_credential_async (client_id = app_settings . base_settings . azure_client_id ),
22+ credential = await get_azure_credential_async (),
2323 api_version = app_settings .azure_ai .agent_api_version
2424 )
2525
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ async def create_or_get_agent(cls):
2020 """
2121 project_client = AIProjectClient (
2222 endpoint = app_settings .azure_ai .agent_endpoint ,
23- credential = await get_azure_credential_async (client_id = app_settings . base_settings . azure_client_id ),
23+ credential = await get_azure_credential_async (),
2424 api_version = app_settings .azure_ai .agent_api_version
2525 )
2626
You can’t perform that action at this time.
0 commit comments