chore: Removes unused to_agent_config method in BaseAgentConfig
#2638
+19
−11
to_agent_config method in BaseAgentConfig
#2638