You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/community/tests/unit_tests/chat_models/test_zhipuai.py

11 lines
300 B
Python

import pytest
from langchain_community.chat_models.zhipuai import ChatZhipuAI
@pytest.mark.requires("zhipuai")
def test_integration_initialization() -> None:
chat = ChatZhipuAI(model="chatglm_turbo", streaming=False)
assert chat.model == "chatglm_turbo"
assert chat.streaming is False