mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 02:45:18 +00:00
add Claude3Config
This commit is contained in:
parent
1ed2cd064a
commit
f94a0fd704
1 changed files with 1 additions and 0 deletions
|
|
@ -70,6 +70,7 @@ class LiteLLMAIHandler(BaseAiHandler):
|
||||||
)
|
)
|
||||||
if get_settings().get("AWS.BEDROCK_REGION", None):
|
if get_settings().get("AWS.BEDROCK_REGION", None):
|
||||||
litellm.AmazonAnthropicConfig.max_tokens_to_sample = 2000
|
litellm.AmazonAnthropicConfig.max_tokens_to_sample = 2000
|
||||||
|
litellm.AmazonAnthropicClaude3Config.max_tokens = 2000
|
||||||
self.aws_bedrock_client = boto3.client(
|
self.aws_bedrock_client = boto3.client(
|
||||||
service_name="bedrock-runtime",
|
service_name="bedrock-runtime",
|
||||||
region_name=get_settings().aws.bedrock_region,
|
region_name=get_settings().aws.bedrock_region,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue