forked from phoenix/litellm-mirror
Add symlink and only copy in source dir to stay under 50MB compressed limit for Lambdas.
This commit is contained in:
parent
56d28ba69e
commit
4d9aa7a3f7
2 changed files with 3 additions and 2 deletions
1
litellm/requirements.txt
Symbolic link
1
litellm/requirements.txt
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../requirements.txt
|
|
@ -45,8 +45,8 @@ Resources:
|
||||||
Type: AWS::Serverless::Function
|
Type: AWS::Serverless::Function
|
||||||
Properties:
|
Properties:
|
||||||
FunctionName: !Sub "${AWS::StackName}-llmlite"
|
FunctionName: !Sub "${AWS::StackName}-llmlite"
|
||||||
CodeUri: "./"
|
CodeUri: "./litellm"
|
||||||
Handler: litellm/proxy/lambda.lambda_handler
|
Handler: proxy/lambda.lambda_handler
|
||||||
Runtime: python3.11
|
Runtime: python3.11
|
||||||
AutoPublishAlias: !Ref AliasParameter
|
AutoPublishAlias: !Ref AliasParameter
|
||||||
Role: !GetAtt LambdaExecutionRole.Arn
|
Role: !GetAtt LambdaExecutionRole.Arn
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue