test openai files endpoints

This commit is contained in:
Ishaan Jaff 2024-07-10 15:54:55 -07:00
parent ef3bd2df22
commit a741586519

View file

@ -164,6 +164,12 @@ async def test_async_create_batch():
assert delete_file_response.id == batch_input_file_id assert delete_file_response.id == batch_input_file_id
all_files_list = await litellm.afile_list(
custom_llm_provider="openai",
)
print("all_files_list = ", all_files_list)
# # write this file content to a file # # write this file content to a file
# with open("file_content.json", "w") as f: # with open("file_content.json", "w") as f:
# json.dump(file_content, f) # json.dump(file_content, f)