Skip to content

Commit

Permalink
standard-tests: set integration test parameters independent of unit t…
Browse files Browse the repository at this point in the history
…est (langchain-ai#24979)

This ends up getting set in integration tests.
  • Loading branch information
ccurme authored and olgamurraft committed Aug 16, 2024
1 parent 734dbc8 commit 5407b1a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ def _validate_tool_call_message_no_args(message: BaseMessage) -> None:


class ChatModelIntegrationTests(ChatModelTests):
@property
def standard_chat_model_params(self) -> dict:
return {}

def test_invoke(self, model: BaseChatModel) -> None:
result = model.invoke("Hello")
assert result is not None
Expand Down

0 comments on commit 5407b1a

Please sign in to comment.