Skip to content

Deployment of local API with public models is not possible without AWS creds #1588

Closed
@RobertLucian

Description

@RobertLucian

Version

Since 0.22.

Description

When a local API is deployed that's using the live-reloading/multi-model caching feature and the specified model(s) is/are public, the API will stop abruptly if no AWS credentials have been configured for it (either via the local environment or by including the credentials in the .env file).

Suggested solution

If a model is public and there are no AWS credentials set, then the S3 client should be anonymous.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions