def add_version(self, resolved_name: str, version: str) -> None:
        """Add a new version to an existing External Agent."""
        query = f"""ALTER EXTERNAL AGENT if exists "{resolved_name}"  ADD VERSION "{version}";"""
        # parameter bindings doesn't work with ALTER statement

        execute_query(self.session, query)

        logger.info(
            f"Added version {version} to External Agent {resolved_name}."
        )
Add a new version to an existing External Agent.
src/connectors/snowflake/trulens/connectors/snowflake/dao/external_agent.py