Skip to content

Commit fa0069a

Browse files
Update src/backend/v4/magentic_agents/common/lifecycle.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 45ff4ca commit fa0069a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/backend/v4/magentic_agents/common/lifecycle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ async def save_database_team_agent(self) -> None:
289289
team_id=self.team_config.team_id,
290290
team_name=self.team_config.name,
291291
agent_name=self.agent_name,
292-
agent_foundry_id=self._agent.chat_client.agent_id,
292+
agent_foundry_id=self._agent.id,
293293
agent_description=self.agent_description,
294294
agent_instructions=self.agent_instructions,
295295
)

0 commit comments

Comments
 (0)