Merge remote-tracking branch 'origin/main' into of/readme-file-update

This commit is contained in:
ofir-frd 2025-10-11 17:09:30 +03:00
commit 1527ea07cf
3 changed files with 8 additions and 4 deletions

View file

@ -63,6 +63,7 @@ MAX_TOKENS = {
'vertex_ai/claude-3-5-sonnet-v2@20241022': 100000,
'vertex_ai/claude-3-7-sonnet@20250219': 200000,
'vertex_ai/claude-sonnet-4@20250514': 200000,
'vertex_ai/claude-sonnet-4-5@20250929': 200000,
'vertex_ai/gemini-1.5-pro': 1048576,
'vertex_ai/gemini-2.5-pro-preview-03-25': 1048576,
'vertex_ai/gemini-2.5-pro-preview-05-06': 1048576,
@ -95,6 +96,7 @@ MAX_TOKENS = {
'anthropic/claude-3-5-sonnet-20241022': 100000,
'anthropic/claude-3-7-sonnet-20250219': 200000,
'anthropic/claude-sonnet-4-20250514': 200000,
'anthropic/claude-sonnet-4-5-20250929': 200000,
'claude-3-7-sonnet-20250219': 200000,
'anthropic/claude-3-5-haiku-20241022': 100000,
'bedrock/anthropic.claude-instant-v1': 100000,
@ -108,13 +110,17 @@ MAX_TOKENS = {
'bedrock/anthropic.claude-3-5-sonnet-20241022-v2:0': 100000,
'bedrock/anthropic.claude-3-7-sonnet-20250219-v1:0': 200000,
'bedrock/anthropic.claude-sonnet-4-20250514-v1:0': 200000,
'bedrock/anthropic.claude-sonnet-4-5-20250929-v1:0': 200000,
"bedrock/us.anthropic.claude-opus-4-20250514-v1:0": 200000,
"bedrock/us.anthropic.claude-3-5-sonnet-20241022-v2:0": 100000,
"bedrock/us.anthropic.claude-3-7-sonnet-20250219-v1:0": 200000,
"bedrock/us.anthropic.claude-sonnet-4-20250514-v1:0": 200000,
"bedrock/us.anthropic.claude-sonnet-4-5-20250929-v1:0": 200000,
"bedrock/apac.anthropic.claude-3-5-sonnet-20241022-v2:0": 100000,
"bedrock/apac.anthropic.claude-3-7-sonnet-20250219-v1:0": 200000,
"bedrock/apac.anthropic.claude-sonnet-4-20250514-v1:0": 200000,
"bedrock/jp.anthropic.claude-sonnet-4-5-20250929-v1:0": 200000,
"bedrock/global.anthropic.claude-sonnet-4-5-20250929-v1:0": 200000,
'claude-3-5-sonnet': 100000,
'bedrock/us.meta.llama4-scout-17b-instruct-v1:0': 128000,
'bedrock/us.meta.llama4-maverick-17b-instruct-v1:0': 128000,

View file

@ -376,7 +376,6 @@ def get_main_pr_language(languages, files) -> str:
break
except Exception as e:
get_logger().exception(f"Failed to get main language: {e}")
pass
## old approach:
# most_common_extension = max(set(extension_list), key=extension_list.count)
@ -401,7 +400,6 @@ def get_main_pr_language(languages, files) -> str:
except Exception as e:
get_logger().exception(e)
pass
return main_language_str

View file

@ -1,5 +1,5 @@
aiohttp==3.12.15
anthropic>=0.52.0
anthropic>=0.69.0
#anthropic[vertex]==0.47.1
atlassian-python-api==3.41.4
azure-devops==7.1.0b3
@ -13,7 +13,7 @@ google-cloud-aiplatform==1.38.0
google-generativeai==0.8.3
google-cloud-storage==2.10.0
Jinja2==3.1.6
litellm==1.73.6
litellm==1.77.7
loguru==0.7.2
msrest==0.7.1
openai>=1.55.3