Skip to content

Commit

Permalink
Improved formatting. Removed the name to reduce repetition.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 590918567
Change-Id: I6a35b8f45b81d23387017af4eac74cc9d3d9c862
  • Loading branch information
vezhnick authored and copybara-github committed Dec 14, 2023
1 parent e7c9837 commit 5f75b67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions concordia/components/agent/identity.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ def update(self):
for c in self._identity_components:
executor.submit(c.update)

self._state = f'Name: {self._agent_name}\n' + '\n'.join(
[c.state() for c in self._identity_components]
self._state = '\n'.join(
[f'{c.name()}: {c.state()}' for c in self._identity_components]
)

0 comments on commit 5f75b67

Please sign in to comment.