Skip to content

Commit add357c

Browse files
whitespace
1 parent 38e6dea commit add357c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎tests/integrations/boto3/test_bedrock.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ def test_converse(
7373
assert span["attributes"][SPANDATA.GEN_AI_PROVIDER_NAME] == "aws.bedrock"
7474
assert span["attributes"][SPANDATA.GEN_AI_OPERATION_NAME] == "chat"
7575
assert span["attributes"][SPANDATA.GEN_AI_RESPONSE_STREAMING] is False
76-
7776
assert (
7877
span["attributes"][SPANDATA.GEN_AI_REQUEST_MODEL]
7978
== "anthropic.claude-3-sonnet-20240229-v1:0"
@@ -263,11 +262,11 @@ def test_converse_stream(
263262
assert span["attributes"][SPANDATA.GEN_AI_PROVIDER_NAME] == "aws.bedrock"
264263
assert span["attributes"][SPANDATA.GEN_AI_OPERATION_NAME] == "chat"
265264
assert span["attributes"][SPANDATA.GEN_AI_RESPONSE_STREAMING] is True
266-
267265
assert (
268266
span["attributes"][SPANDATA.GEN_AI_REQUEST_MODEL]
269267
== "anthropic.claude-3-sonnet-20240229-v1:0"
270268
)
269+
271270
assert span["attributes"][SPANDATA.GEN_AI_REQUEST_MAX_TOKENS] == 1024
272271
assert span["attributes"][SPANDATA.GEN_AI_REQUEST_TEMPERATURE] == 0.7
273272
assert span["attributes"][SPANDATA.GEN_AI_REQUEST_TOP_P] == 0.9

0 commit comments

Comments
 (0)