mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
11 lines
300 B
Python
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
|