# Keep model connection params intact when rebuilding stored agents

> Rebuilding a DB-stored agent or team now reuses the live model instance from the registry instead of reconstructing it from scratch.

- Published: 2026-06-18
- Author: Agno Team
- Category: Changelog
- Canonical: https://agno-com-nine.vercel.app/articles/keep-model-connection-params-intact-when-rebuilding-stored-agents
- Markdown: https://agno-com-nine.vercel.app/articles/keep-model-connection-params-intact-when-rebuilding-stored-agents.md

Rebuilding a DB-stored agent or team now reuses the live model instance from the registry instead of reconstructing it from scratch. Connection parameters like `azure_endpoint` and `base_url`, along with credentials, now survive that round trip rather than being dropped to `None`. Agents backed by Azure or any custom-endpoint provider keep working after a reload instead of losing the settings they need to connect.
