Skip to content

[Bug]: Unable to create bedrock model without credentials #11669

@mrh-chain

Description

@mrh-chain

What happened?

When adding a new model via the interface, if the provider is Bedrock, then one is required to add a set of AWS credentials. If LiteLLM is running on an AWS instance with an instance profile attached, then a set of static credentials isn't required. This can be demonstrated by clicking the "Test model" button with the AWS creds being blank.

Trying to save the model with them being blank results in an error. The fields should not be required.

Relevant log output

Are you a ML Ops Team?

No

What LiteLLM version are you on ?

v1.72.2

Twitter / LinkedIn details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions