We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4664a60 commit 8f58257Copy full SHA for 8f58257
src/app.py
@@ -170,7 +170,7 @@ async def init_ai_foundry_client():
170
171
ai_project_client = AIProjectClient(
172
endpoint=app_settings.azure_ai.agent_endpoint,
173
- credential=await get_azure_credential_async()
+ credential = await get_azure_credential_async()
174
)
175
track_event_if_configured("AIFoundryAgentEndpointUsed", {
176
"endpoint": app_settings.azure_ai.agent_endpoint
@@ -194,7 +194,7 @@ def init_cosmosdb_client():
194
195
196
if not app_settings.chat_history.account_key:
197
- credential = await get_azure_credential_async()
+ credential = get_azure_credential()
198
else:
199
credential = app_settings.chat_history.account_key
200
0 commit comments