-
Notifications
You must be signed in to change notification settings - Fork 199
Open
Description
It's possible to generate this JSON:
{
"input": [
{
"content": [
{
"text": "write me a haiku about a sunset",
"type": "input_text"
}
],
"role": "user"
},
{
"content": [
{
"text": "Colors bleed and blend, \nWhispers of the day retreat, \nNight wraps the horizon.",
"type": "input_text"
}
],
"role": "assistant"
},
{
"content": [
{
"text": "mention the color red",
"type": "input_text"
}
],
"role": "user"
}
],
"model": "gpt-4o-mini-2024-07-18"
}
Which in turn results in this error:
400 Bad Request { "message": "Invalid value: 'input_text'. Supported values are: 'output_text' and 'refusal'.", "type": "invalid_request_error", "param": "input[1].content[0]", "code": "invalid_value" }
Metadata
Metadata
Assignees
Labels
No labels