mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-04-08 12:08:15 +00:00
Adds support for the requestMetadata field in AWS Bedrock Converse API calls. This field is crucial for Bedrock Model Invocation Logs and allows users to include custom metadata in their API requests. Changes: - Add request_metadata parameter to BedrockCompletion constructor - Add requestMetadata to BedrockConverseRequestBody TypedDef - Add requestMetadata to BedrockConverseStreamRequestBody TypedDef - Include request_metadata in both sync call() and async acall() methods - Add comprehensive tests for request_metadata functionality Closes #4362 Co-Authored-By: João <joao@crewai.com>