Skip to content

Commit

Permalink
Assert non-empty meta
Browse files Browse the repository at this point in the history
  • Loading branch information
vblagoje committed Mar 8, 2024
1 parent 8817114 commit 16f08b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions integrations/amazon_bedrock/tests/test_chat_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ def test_default_inference_params(self, model_name):
assert response["replies"][0].content
assert ChatMessage.is_from(response["replies"][0], ChatRole.ASSISTANT)
assert "paris" in response["replies"][0].content.lower()
assert len(response["replies"][0].meta) > 0

@pytest.mark.parametrize(
"model_name", ["anthropic.claude-3-sonnet-20240229-v1:0", "anthropic.claude-v2:1", "meta.llama2-13b-chat-v1"]
Expand Down

0 comments on commit 16f08b6

Please sign in to comment.