mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 19:54:13 +00:00
test openai files endpoints
This commit is contained in:
parent
ef3bd2df22
commit
a741586519
1 changed files with 6 additions and 0 deletions
|
@ -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)
|
Loading…
Add table
Add a link
Reference in a new issue