The request sent to Assistants for file search remains stuck in a “queued” state.
I created an assistant using GPT-4o-mini to process a 300KB file and search for specific content within it. Last week, the assistant functioned correctly, but today, when I tried the same setup, there was no response from the GPT API. The status of the request remained “queued” even after waiting for some time.
Upon testing further:
- The same assistant works as expected in Playground.
- Reducing the file size to around 30KB resolves the issue.
Questions:
- Why has the assistant stopped working with 300KB files when it worked fine last week?
- Is this a bug or has there been a change in API specifications or limitations?
I haven’t exceeded the daily limit of 50 requests, so hitting a usage limit seems unlikely.
{
"id": "run_piyopiyopiyopiyo",
"object": "thread.run",
"created_at": 1731994782,
"assistant_id": "asst_hogehogehogehogehoge",
"thread_id": "thread_hugahugahugahuaghuga",
"status": "queued",
"started_at": null,
"expires_at": 1731995382,
"cancelled_at": null,
"failed_at": null,
"completed_at": null,
"required_action": null,
"last_error": null,
"model": "gpt-4o-mini",
"instructions": "this is sample instructions"
"tools": [
{
"type": "file_search",
"file_search": {
"max_num_results": 21,
"ranking_options": {
"ranker": "default_2024_08_21",
"score_threshold": 0.0
}
}
}
],
"tool_resources": {},
"metadata": {},
"temperature": 2.0,
"top_p": 0.74,
"max_completion_tokens": null,
"max_prompt_tokens": null,
"truncation_strategy": {
"type": "auto",
"last_messages": null
},
"incomplete_details": null,
"usage": null,
"response_format": {
"type": "text"
},
"tool_choice": "auto",
"parallel_tool_calls": true
}