Skip to content
This repository was archived by the owner on Jun 3, 2026. It is now read-only.

Commit 718b87d

Browse files
committed
docs: add accept header to AgentCore Python example
1 parent 9f780d6 commit 718b87d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • site/src/content/docs/user-guide/deploy/deploy_to_bedrock_agentcore

site/src/content/docs/user-guide/deploy/deploy_to_bedrock_agentcore/python.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,7 @@ payload = json.dumps({
475475
response = agent_core_client.invoke_agent_runtime(
476476
agentRuntimeArn='arn:aws:bedrock-agentcore:us-west-2:<account-id>:runtime/myStrandsAgent-suffix',
477477
runtimeSessionId='dfmeoagmreaklgmrkleafremoigrmtesogmtrskhmtkrlshmt', # Must be 33+ chars
478+
accept="application/json",
478479
payload=payload,
479480
qualifier="DEFAULT"
480481
)

0 commit comments

Comments
 (0)