Hi,
I don’t think it’s a syntax issue because even the playground call fails! see this screenshot:
The cURL for the same request:
curl https://api.openai.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-d '{
"model": "gpt-4-32k",
"messages": [
{
"role": "user",
"content": "Hi"
}
],
"temperature": 1,
"max_tokens": 256,
"top_p": 1,
"frequency_penalty": 0,
"presence_penalty": 0
}'
So I think it’s an access issue and not a syntax issue.