Skip to content

Comments

Add agent name to exceptions in AgentNetwork#338

Merged
d1donlydfink merged 1 commit intomainfrom
DEF-agent-name-in-exceptions
Jul 30, 2025
Merged

Add agent name to exceptions in AgentNetwork#338
d1donlydfink merged 1 commit intomainfrom
DEF-agent-name-in-exceptions

Conversation

@d1donlydfink
Copy link
Collaborator

No description provided.

if name in self.agent_spec_map:
message: str = f"""
The agent named "{name}" appears to have a duplicate entry in its hocon file.
The agent named "{name}" appears to have a duplicate entry in its hocon file for {self.name}.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add the agent name to the exception message as requested by @ofrancon .
Here and 2 other places below.

@d1donlydfink d1donlydfink requested a review from ofrancon July 30, 2025 16:06
Copy link
Contributor

@ofrancon ofrancon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@d1donlydfink d1donlydfink merged commit 3a62650 into main Jul 30, 2025
4 checks passed
@d1donlydfink d1donlydfink deleted the DEF-agent-name-in-exceptions branch July 30, 2025 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants