display_name
Method
This is a method of the Agent class in the agent module.Safe display name that never returns None. Returns the agent’s name if set, otherwise returns ‘Agent N’ where N is a unique index. Use this for UI display, logging, and string operations where None would cause errors.
Signature
Returns
The result of the operation.

