Skip to content

Commit

Permalink
add Claude3Config
Browse files Browse the repository at this point in the history
  • Loading branch information
koid committed Mar 13, 2024
1 parent 1ed2cd0 commit f94a0fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pr_agent/algo/ai_handlers/litellm_ai_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def __init__(self):
)
if get_settings().get("AWS.BEDROCK_REGION", None):
litellm.AmazonAnthropicConfig.max_tokens_to_sample = 2000
litellm.AmazonAnthropicClaude3Config.max_tokens = 2000
self.aws_bedrock_client = boto3.client(
service_name="bedrock-runtime",
region_name=get_settings().aws.bedrock_region,
Expand Down

0 comments on commit f94a0fd

Please sign in to comment.