Looking at the API docs, I don’t see GPT-4-Turbo as a model for completions
gpt-4 and dated model releases,
gpt-4-turbo-preview and dated model releases,
gpt-3.5-turbo and dated model releases,
fine-tuned versions of gpt-3.5-turbo
got gpt-4-turbo-preview and gpt-4 and 3.5-turbo.
Could you try changing the model to gpt-4 ?