Fixed error in Faraday request and oaiclient api