# Keep Azure OpenAI connections intact through agent and team setup

> We overrode deepcopy behavior on the Azure OpenAI model class to preserve live client references, preventing connection failures that occurred when the model object was copied during agent or team…

- Published: 2026-03-26
- Author: Agno Team
- Category: Changelog
- Canonical: https://agno-com-nine.vercel.app/articles/fix-azure-openai-client-references-lost-after-deepcopy
- Markdown: https://agno-com-nine.vercel.app/articles/fix-azure-openai-client-references-lost-after-deepcopy.md

We overrode `deepcopy` behavior on the Azure OpenAI model class to preserve live client references, preventing connection failures that occurred when the model object was copied during agent or team setup.
