Help connecting OpenAI credential

I learnt from another thread that this issue has been confirmed as a bug in n8n version 2.19.3 and 2.19.5. The bug is tracked here: HTTP Request node fails with "config.headers.setContentType is not a function" when calling api.openai.com · Issue #29471 · n8n-io/n8n · GitHub