Hello World Tutorial fail to work (documentation is not updated?)

Following Hello World Tutorial to try connecting Tiledesk using my own OpenAI chatbot however it fails to work. I think it is because the documentation is too old.

My replit is showing bunch of json as return. Anyone manages to solve the issue?