Missing reasoning_effort from assistant
Now when we retrieve an assistant using curl, there is a new parameter reasoning_effort, here are a couple examples : { "id": "asst_xxxx", "object": "assistant", "created_at": 1725282637, "name": "Assistant 1", "description": null, "model": "o1", "instructions": "You're an assistant.", "tools": [ { "type": "file_search", "file_search": { "ranking_options": { "ranker": "default_2024_08_21", "score_threshold": 0.0 } } } ], "top_p": 1.0, "temperature": 1.0, "reasoning_effort": "medium", "tool_resources": { "file_search": { "vector_store_ids": [ "vs_xxxxx" ] } }, "metadata": {}, "response_format": { "type": "text" } }
{ "id": "asst_xxxx", "object": "assistant", "created_at": 1725282637, "name": "Assistant 1", "description": null, "model": "gpt-4o-mini", "instructions": "You're an assistant.", "tools": [ { "type": "file_search", "file_search": { "ranking_options": { "ranker": "default_2024_08_21", "score_threshold": 0.0 } } } ], "top_p": 1.0, "temperature": 1.0, "reasoning_effort": null, "tool_resources": { "file_search": { "vector_store_ids": [ "vs_xxxxx" ] } }, "metadata": {}, "response_format": { "type": "text" } }
Just formatting your JSON because it may be of use to others
{
"id": "asst_xxxx",
"object": "assistant",
"created_at": 1725282637,
"name": "Assistant 1",
"description": null,
"model": "o1",
"instructions": "You're an assistant.",
"tools": [
{
"type": "file_search",
"file_search": {
"ranking_options": {
"ranker": "default_2024_08_21",
"score_threshold": 0.0
}
}
}
],
"top_p": 1.0,
"temperature": 1.0,
"reasoning_effort": "medium",
"tool_resources": {
"file_search": {
"vector_store_ids": [
"vs_xxxxx"
]
}
},
"metadata": {},
"response_format": {
"type": "text"
}
}
{
"id": "asst_xxxx",
"object": "assistant",
"created_at": 1725282637,
"name": "Assistant 1",
"description": null,
"model": "gpt-4o-mini",
"instructions": "You're an assistant.",
"tools": [
{
"type": "file_search",
"file_search": {
"ranking_options": {
"ranker": "default_2024_08_21",
"score_threshold": 0.0
}
}
}
],
"top_p": 1.0,
"temperature": 1.0,
"reasoning_effort": null,
"tool_resources": {
"file_search": {
"vector_store_ids": [
"vs_xxxxx"
]
}
},
"metadata": {},
"response_format": {
"type": "text"
}
}
PR opened - https://github.com/openai-php/client/pull/606 tested here - https://github.com/iBotPeaches/openai-php-laravel-test/blob/master/app/Console/Commands/AssistantReasoningCreate.php