This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from litellm import completion | |
| # REQUIRES: AWS_BEARER_TOKEN_BEDROCK ENV varaible | |
| # List of Modela and their names here: https://eu-west-3.console.aws.amazon.com/bedrock/home?region=eu-west-3#/model-catalog | |
| # The global. prefix for the model name is required | |
| def main(): | |
| response = completion( | |
| model="bedrock/global.anthropic.claude-sonnet-4-5-20250929-v1:0", | |
| messages=[ |