Skip to content

Commit

Permalink
Haiku 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudotensor committed Nov 5, 2024
1 parent 150b86b commit 1715e07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ class LangChainAgent(Enum):
"claude-3-5-sonnet-latest": 200000,
"claude-3-5-sonnet-20240620": 200000,
"claude-3-haiku-20240307": 200000,
"claude-3-5-haiku-20241022": 200000,
}

anthropic_mapping_outputs = {
Expand All @@ -238,13 +239,15 @@ class LangChainAgent(Enum):
"claude-3-5-sonnet-20241022": 8192,
"claude-3-5-sonnet-latest": 8192,
"claude-3-haiku-20240307": 4096,
"claude-3-5-haiku-20241022": 8192,
}

anthropic_prompt_caching = ["claude-3-opus-20240229",
"claude-3-5-sonnet-20241022",
"claude-3-5-sonnet-latest",
"claude-3-5-sonnet-20240620",
"claude-3-haiku-20240307",
"claude-3-5-haiku-20241022",
]

claude3imagetag = 'claude-3-image'
Expand Down Expand Up @@ -305,6 +308,7 @@ class LangChainAgent(Enum):
'claude-3-5-sonnet-20241022': claude3image_num_max,
'claude-3-5-sonnet-latest': claude3image_num_max,
'claude-3-haiku-20240307': claude3_haiku_image_num_max,
'claude-3-5-haiku-20241022': claude3_haiku_image_num_max,
'liuhaotian/llava-v1.6-34b': 1, # for lmdeploy
'liuhaotian/llava-v1.6-vicuna-13b': 1, # for lmdeploy
'HuggingFaceM4/idefics2-8b-chatty': 10,
Expand Down
2 changes: 1 addition & 1 deletion src/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2f283d091366111f2e004effefbe966b4b1fa006"
__version__ = "150b86b2f4c0510b314f04b6f62139ebc4bdc4a5"

0 comments on commit 1715e07

Please sign in to comment.