I am receiving a HTTP 200 OK but empty response when using the o3-mini and o1 models.
curl --location 'https://xxx/openai/responses?api-version=2025-03-01-preview' \
--header 'Content-Type: application/json' \
--header 'api-key: xxx' \
--data '{
"model": "o3-mini",
"input": [
{
"role": "user",
"content": "Say hello"
}
]
}'
POST /openai/responses?api-version=2025-03-01-preview HTTP/1.1
{
"model": "o3-mini",
"input": [
{
"role": "user",
"content": "Say hello"
}
]
}
HTTP/1.1 200 OK
x-ms-region: East US 2
apim-request-id: 44c54597-dfe2-4bcf-8204-21f5dd81e424
However, with the gpt-4o model, I get a response as expected.
curl --location 'https://xxx/openai/responses?api-version=2025-03-01-preview' \
--header 'Content-Type: application/json' \
--header 'api-key: xxx' \
--data '{
"model": "gpt-4o-mini",
"input": [
{
"role": "user",
"content": "Say hello"
}
]
}'
POST /openai/responses?api-version=2025-03-01-preview HTTP/1.1
{
"model": "gpt-4o-mini",
"input": [
{
"role": "user",
"content": "Say hello"
}
]
}
HTTP/1.1 200 OK
x-ms-region: East US 2
x-request-id: 5914cbb6-1770-46e3-9e13-6f8807bd5d25
apim-request-id: 6fa8e3f3-283f-4684-b90d-a36f9d10f28e
{
"id": "resp_67de3b6ffbcc8190bf1e71b914d07b09",
"object": "response",
"created_at": 1742617455,
"status": "completed",
"error": null,
"incomplete_details": null,
"instructions": null,
"max_output_tokens": null,
"model": "gpt-4o-mini",
"output": [
{
"type": "message",
"id": "msg_67de3b709af881909915cf36c9482989",
"status": "completed",
"role": "assistant",
"content": [
{
"type": "output_text",
"text": "Hello! How can I assist you today?",
"annotations": []
}
]
}
],
"parallel_tool_calls": true,
"previous_response_id": null,
"reasoning": {
"effort": null,
"generate_summary": null
},
"store": true,
"temperature": 1.0,
"text": {
"format": {
"type": "text"
}
},
"tools": [],
"top_p": 1.0,
"truncation": "disabled",
"usage": {
"input_tokens": 26,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens": 11,
"output_tokens_details": {
"reasoning_tokens": 0
},
"total_tokens": 37
},
"user": null,
"metadata": {}
}