adds user agent to cobot api client