diff --git a/tests/llm_responses_api_testing/test_openai_responses_api.py b/tests/llm_responses_api_testing/test_openai_responses_api.py index 67581cec00..dc4f9308ef 100644 --- a/tests/llm_responses_api_testing/test_openai_responses_api.py +++ b/tests/llm_responses_api_testing/test_openai_responses_api.py @@ -1,13 +1,18 @@ import os import sys +import pytest sys.path.insert(0, os.path.abspath("../..")) import litellm +import json -def test_basic_openai_responses_api(): - response = litellm.responses( +@pytest.mark.asyncio +async def test_basic_openai_responses_api(): + litellm._turn_on_debug() + response = await litellm.aresponses( model="gpt-4o", input="Tell me a three sentence bedtime story about a unicorn." ) + print("litellm response=", json.dumps(response, indent=4, default=str)) # validate_responses_api_response()