From 2a436c90e6e55bd3af07abbcd8ea7da1870134ec Mon Sep 17 00:00:00 2001 From: Umer Mansoor Date: Sun, 11 Aug 2024 18:42:37 -0700 Subject: [PATCH 1/2] Add latest gpt-4o model: `gpt-4o-2024-08-06` (#3329) Co-authored-by: Xiaoyun Zhang --- autogen/oai/openai_utils.py | 1 + autogen/token_count_utils.py | 1 + 2 files changed, 2 insertions(+) diff --git a/autogen/oai/openai_utils.py b/autogen/oai/openai_utils.py index df70e01ff7d..41b94324118 100644 --- a/autogen/oai/openai_utils.py +++ b/autogen/oai/openai_utils.py @@ -28,6 +28,7 @@ # gpt-4o "gpt-4o": (0.005, 0.015), "gpt-4o-2024-05-13": (0.005, 0.015), + "gpt-4o-2024-08-06": (0.0025, 0.01), # gpt-4-turbo "gpt-4-turbo-2024-04-09": (0.01, 0.03), # gpt-4 diff --git a/autogen/token_count_utils.py b/autogen/token_count_utils.py index 220007a2bd1..8552a8f1653 100644 --- a/autogen/token_count_utils.py +++ b/autogen/token_count_utils.py @@ -36,6 +36,7 @@ def get_max_token_limit(model: str = "gpt-3.5-turbo-0613") -> int: "gpt-4-vision-preview": 128000, "gpt-4o": 128000, "gpt-4o-2024-05-13": 128000, + "gpt-4o-2024-08-06": 128000, "gpt-4o-mini": 128000, "gpt-4o-mini-2024-07-18": 128000, } From afdaa4c7cbc7811877a2420e65252e4aa0c3d54b Mon Sep 17 00:00:00 2001 From: Qingyun Wu Date: Mon, 12 Aug 2024 12:34:47 -0700 Subject: [PATCH 2/2] version (#3343) --- autogen/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen/version.py b/autogen/version.py index c4feccf559b..1ee4e635546 100644 --- a/autogen/version.py +++ b/autogen/version.py @@ -1 +1 @@ -__version__ = "0.2.33" +__version__ = "0.2.34"