Skip to content

Commit

Permalink
Update test_amazon_bedrock_agent.py
Browse files Browse the repository at this point in the history
fix tests
  • Loading branch information
brnaba-aws authored Nov 20, 2024
1 parent 8a9283f commit da9563f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/src/tests/agents/test_amazon_bedrock_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ async def test_process_request_success(bedrock_agent):
agentId='test_agent_id',
agentAliasId='test_agent_alias_id',
sessionId='test_session',
inputText='Test input'
inputText='Test input',
sessionState={}
)

@pytest.mark.asyncio
Expand Down Expand Up @@ -116,4 +117,4 @@ async def test_process_request_with_additional_params(bedrock_agent):

assert isinstance(result, ConversationMessage)
assert result.role == ParticipantRole.ASSISTANT.value
assert result.content == [{"text": "Response with additional params"}]
assert result.content == [{"text": "Response with additional params"}]

0 comments on commit da9563f

Please sign in to comment.