In Assistants API, is there any priority from which response will come if we upload the files on both thread and assistants?

Currently, If i am uploading the the files on both Assistants and thread. I am only getting the response from threads only. How to get response from both threads and assistants files ?