forked from phoenix/litellm-mirror
fix test_json_response_format
This commit is contained in:
parent
a866bdb01e
commit
eaf5723b94
1 changed files with 4 additions and 0 deletions
|
@ -82,6 +82,10 @@ class BaseLLMChatTest(ABC):
|
||||||
|
|
||||||
print(response)
|
print(response)
|
||||||
|
|
||||||
|
# OpenAI guarantees that the JSON schema is returned in the content
|
||||||
|
# relevant issue: https://github.com/BerriAI/litellm/issues/6741
|
||||||
|
assert response.choices[0].message.content is not None
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def pdf_messages(self):
|
def pdf_messages(self):
|
||||||
import base64
|
import base64
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue