Skip to content

AWS Bedrock via LiteLLM #620

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
controldev opened this issue Apr 28, 2025 · 0 comments
Closed

AWS Bedrock via LiteLLM #620

controldev opened this issue Apr 28, 2025 · 0 comments
Labels
question Question about using the SDK

Comments

@controldev
Copy link

controldev commented Apr 28, 2025

This may be a stupid question, but I tried using the LiteLLM model provider to use Claude via AWS Bedrock like this:

model = LitellmModel(
    model="bedrock/anthropic.claude-3-5-sonnet-20241022-v2:0"
)

I can see authentication is done using the environment variables in the LiteLLM documentation.

What does the api_key parameter do? Is this only valid for certain inference providers (e.g. direct OpenAI)?

@controldev controldev added the question Question about using the SDK label Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question about using the SDK
Projects
None yet
Development

No branches or pull requests

1 participant