diff --git a/docs/my-website/docs/providers/bedrock_agents.md b/docs/my-website/docs/providers/bedrock_agents.md index e6368705fe..4d027cbb3d 100644 --- a/docs/my-website/docs/providers/bedrock_agents.md +++ b/docs/my-website/docs/providers/bedrock_agents.md @@ -196,7 +196,51 @@ for chunk in stream: +## Provider-specific Parameters + +Any non-openai parameters will be passed to the agent as custom parameters. + + + + +```python showLineNumbers title="Using custom parameters" +from litellm import completion + +response = litellm.completion( + model="bedrock/agent/L1RT58GYRW/MFPSBCXYTW", + messages=[ + { + "role": "user", + "content": "Hi who is ishaan cto of litellm, tell me 10 things about him", + } + ], + invocationId="my-test-invocation-id", # PROVIDER-SPECIFIC VALUE +) +``` + + + + +```yaml showLineNumbers title="LiteLLM Proxy Configuration" +model_list: + - model_name: bedrock-agent-1 + litellm_params: + model: bedrock/agent/L1RT58GYRW/MFPSBCXYTW + aws_access_key_id: os.environ/AWS_ACCESS_KEY_ID + aws_secret_access_key: os.environ/AWS_SECRET_ACCESS_KEY + aws_region_name: us-west-2 + invocationId: my-test-invocation-id +``` + + + + + + + + ## Further Reading - [AWS Bedrock Agents Documentation](https://aws.amazon.com/bedrock/agents/) - [LiteLLM Authentication to Bedrock](https://docs.litellm.ai/docs/providers/bedrock#boto3---authentication) +