Building OpenAI Assistant API into Google Sheets

Same problem with different approach. I am looking in a way to call custom assistant via function.