Skip to content

Commit a0b7098

Browse files
removed unwanted client id
1 parent 79322ea commit a0b7098

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

src/backend/api/agent/browse_agent_factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

src/backend/api/agent/section_agent_factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

src/backend/api/agent/template_agent_factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)