Is your feature request related to a problem? Please describe.
The configuration manager uses str represenation of the agent role instead of the enum.
Suggested solution
Replace str argument type to the AgentRole enum
Alternatives considered
No response
Additional context
No response