Skip to content

Commit 36ffc7a

Browse files
Update multimodal_agent.py
1 parent 93e4931 commit 36ffc7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deploy-to-production/deployment/multimodal_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def invoke(payload, context=None):
113113
session_id = 'whatsapp-session'
114114

115115
if context and hasattr(context, 'request_headers') and context.request_headers:
116-
actor_id = context.request_headers.get('X-Amzn-Bedrock-AgentCore-Runtime-Custom-Actor-Id', 'whatsapp-user')
116+
actor_id = context.request_headers.get('x-amzn-bedrock-agentcore-runtime-custom-actor-id')
117117
session_id = context.session_id or 'whatsapp-session'
118118

119119
# Get or create agent with proper session management

0 commit comments

Comments
 (0)