Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ccurme committed Apr 24, 2024
1 parent bab0308 commit 399a9d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def test_initialization() -> None:
def test_default_call() -> None:
"""Test default model.invoke(`ERNIE-Bot`) call."""
chat = QianfanChatEndpoint()
response = chat.invoke(messages=[HumanMessage(content="Hello")])
response = chat.invoke([HumanMessage(content="Hello")])
assert isinstance(response, BaseMessage)
assert isinstance(response.content, str)

Expand Down

0 comments on commit 399a9d0

Please sign in to comment.