Agent 的身份信息。 格式:{name}@{team_name} 例如:researcher@my-project, team-lead@my-project 对应 Reference: EP08 §5
| 80 | |
| 81 | @dataclass |
| 82 | class AgentIdentity: |
| 83 | """ |
| 84 | Agent 的身份信息。 |
| 85 | |
| 86 | 格式:{name}@{team_name} |
| 87 | 例如:researcher@my-project, team-lead@my-project |
| 88 | |
| 89 | 对应 Reference: EP08 §5 |
| 90 | """ |
| 91 | name: str |
| 92 | team_name: str |
| 93 | role: str # "leader" or "worker" |
| 94 | |
| 95 | @property |
| 96 | def agent_id(self) -> str: |
| 97 | return f"{self.name}@{self.team_name}" |
| 98 | |
| 99 | |
| 100 | # ============================================================ |
no outgoing calls
no test coverage detected