mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
fix tests
This commit is contained in:
parent
b718df5e8f
commit
0c895b76fe
1 changed files with 4 additions and 6 deletions
|
@ -27,7 +27,7 @@
|
|||
# except Exception as e:
|
||||
# pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
# test_completion_ollama()
|
||||
# # test_completion_ollama()
|
||||
|
||||
# def test_completion_ollama_stream():
|
||||
# user_message = "what is litellm?"
|
||||
|
@ -47,7 +47,7 @@
|
|||
# except Exception as e:
|
||||
# pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
# test_completion_ollama_stream()
|
||||
# # test_completion_ollama_stream()
|
||||
|
||||
|
||||
# async def test_completion_ollama_async_stream():
|
||||
|
@ -68,10 +68,8 @@
|
|||
# except Exception as e:
|
||||
# pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
# import asyncio
|
||||
# asyncio.run(test_completion_ollama_async_stream())
|
||||
|
||||
|
||||
# # import asyncio
|
||||
# # asyncio.run(test_completion_ollama_async_stream())
|
||||
|
||||
# def prepare_messages_for_chat(text: str) -> list:
|
||||
# messages = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue