Fix logging to use labels for team model, leader model, and strategy

This commit is contained in:
2025-10-12 20:26:02 +02:00
parent b42500b067
commit 3007780160

View File

@@ -207,7 +207,7 @@ class TelegramApp:
confs = self.user_requests[user]
confs.user_query = message.text or ""
logging.info(f"@{user.username} started the team with [{confs.team_model}, {confs.leader_model}, {confs.strategy}]")
logging.info(f"@{user.username} started the team with [{confs.team_model.label}, {confs.leader_model.label}, {confs.strategy.label}]")
await self.__run_team(update, confs)
logging.info(f"@{user.username} team finished.")