Assistant API: Streaming and files

Is it possible to pass file ids while streaming? Here is my original code that works but when i try to pass file ids on the streaming i get errors:
client.beta.threads.messages.create(thread_id=thread_id, role=“user”, content=message, file_ids=file_ids)
run_response = client.beta.threads.runs.create(thread_id=thread_id, assistant_id=ASSISTANT_ID)
run_id = run_response.id