Skip to content

Commit bbca12c

Browse files
authored
Merge pull request #1001 from parea-ai/PAI-1387-add-4-o-mini
feat(mini): add gpt mini
2 parents 04cde9f + 6931255 commit bbca12c

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

parea/constants.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,16 @@ def str2bool(v):
145145
"completion": 15.0,
146146
"token_limit": {"max_completion_tokens": 4096, "max_prompt_tokens": 128000},
147147
},
148+
"gpt-4o-mini": {
149+
"prompt": 0.15,
150+
"completion": 0.6,
151+
"token_limit": {"max_completion_tokens": 4096, "max_prompt_tokens": 128000},
152+
},
153+
"gpt-4o-mini-2024-07-18": {
154+
"prompt": 0.15,
155+
"completion": 0.6,
156+
"token_limit": {"max_completion_tokens": 4096, "max_prompt_tokens": 128000},
157+
},
148158
}
149159
AZURE_MODEL_INFO: Dict[str, Dict[str, Union[float, int, Dict[str, int]]]] = {
150160
"gpt-35-turbo": {

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "poetry.core.masonry.api"
66
[tool.poetry]
77
name = "parea-ai"
88
packages = [{ include = "parea" }]
9-
version = "0.2.186"
9+
version = "0.2.187"
1010
description = "Parea python sdk"
1111
readme = "README.md"
1212
authors = ["joel-parea-ai <[email protected]>"]

0 commit comments

Comments
 (0)