You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/backend/app/config/container_azure_chat.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -102,21 +102,21 @@ class Container(containers.DeclarativeContainer):
102
102
103
103
############# ChatKit based agents and orchestrator #############
104
104
105
-
#Account Agent with Azure chat based agents. Can be singleton as thread state is passed to the underlying agent run method
106
-
account_agent_chatkit=providers.Singleton(
105
+
#Account Agent with Azure chat based agents. Must be Factory (not Singleton) so a fresh AzureOpenAIChatClient with valid credentials is created per request.
0 commit comments