CFY-145 use agent key name in provider context if provided