fix: linting

This commit is contained in:
Gabriel Almeida 2023-04-06 18:14:49 -03:00 • committed by Gabriel Luiz Freitas Almeida
commit 611b4d6709

View file

@ -438,7 +438,7 @@ def test_chat_open_ai(client: TestClient):
assert template["_type"] == "ChatOpenAI" assert template["_type"] == "ChatOpenAI"
assert ( assert (
model["description"] model["description"]
== "Wrapper around OpenAI Chat large language models.To use, you should have the ``openai`` python package installed, and theenvironment variable ``OPENAI_API_KEY`` set with your API key.Any parameters that are valid to be passed to the openai.create call can be passedin, even if not explicitly saved on this class." == "Wrapper around OpenAI Chat large language models.To use, you should have the ``openai`` python package installed, and theenvironment variable ``OPENAI_API_KEY`` set with your API key.Any parameters that are valid to be passed to the openai.create call can be passedin, even if not explicitly saved on this class." # noqa E501
) )
assert set(model["base_classes"]) == { assert set(model["base_classes"]) == {
"BaseChatModel", "BaseChatModel",