Skip to content

Commit 56c0046

Browse files
committed
Pass response ID to the response json to make it compatible with bespoken
1 parent 6ec1d60 commit 56c0046

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llm_bedrock_anthropic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,7 @@ def execute(self, prompt, stream, response, conversation):
602602
# Preserve the Bedrock-specific user content dict, so it can be re-used in
603603
# future conversations.
604604
response.response_json = {
605+
'id': response.id,
605606
'bedrock_user_content': self.encode_bytes(prompt_content)
606607
}
607608

0 commit comments

Comments
 (0)