Add symlink and only copy in source dir to stay under 50MB compressed limit for Lambdas.

This commit is contained in:
David Manouchehri 2023-11-22 23:07:33 -05:00
parent 56d28ba69e
commit 4d9aa7a3f7
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

1
litellm/requirements.txt Symbolic link
View file

@ -0,0 +1 @@
../requirements.txt

View file

@ -45,8 +45,8 @@ Resources:
Type: AWS::Serverless::Function
Properties:
FunctionName: !Sub "${AWS::StackName}-llmlite"
CodeUri: "./"
Handler: litellm/proxy/lambda.lambda_handler
CodeUri: "./litellm"
Handler: proxy/lambda.lambda_handler
Runtime: python3.11
AutoPublishAlias: !Ref AliasParameter
Role: !GetAtt LambdaExecutionRole.Arn