🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org
Python agentai-societiesartificial-intelligencecommunicative-aicooperative-aideep-learninglarge-language-modelsmulti-agent-systemsnatural-language-processing
sunset deprecated gemini 1.5 models (#3549)
JINO ROHITcafc44b3f2ad
diff --git a/camel/types/enums.py b/camel/types/enums.pyindex e4c9316a2..dcca7c919 100644--- a/camel/types/enums.py+++ b/camel/types/enums.py@@ -257,8 +257,6 @@ class ModelType(UnifiedModelType, Enum):GEMINI_2_0_PRO_EXP = "gemini-2.0-pro-exp-02-05"GEMINI_2_0_FLASH_LITE = "gemini-2.0-flash-lite"GEMINI_2_0_FLASH_LITE_PREVIEW = "gemini-2.0-flash-lite-preview-02-05"- GEMINI_1_5_FLASH = "gemini-1.5-flash"- GEMINI_1_5_PRO = "gemini-1.5-pro"# Mistral AI modelsMISTRAL_3B = "ministral-3b-latest"@@ -871,8 +869,6 @@ class ModelType(UnifiedModelType, Enum):ModelType.GEMINI_2_0_PRO_EXP,ModelType.GEMINI_2_0_FLASH_LITE,ModelType.GEMINI_2_0_FLASH_LITE_PREVIEW,- ModelType.GEMINI_1_5_FLASH,- ModelType.GEMINI_1_5_PRO,}@property@@ -1580,8 +1576,6 @@ class ModelType(UnifiedModelType, Enum):ModelType.GEMINI_2_0_FLASH_THINKING,ModelType.GEMINI_2_0_FLASH_LITE,ModelType.GEMINI_2_0_FLASH_LITE_PREVIEW,- ModelType.GEMINI_1_5_FLASH,- ModelType.GEMINI_1_5_PRO,ModelType.GEMINI_2_0_PRO_EXP, # Not given in doc, assume the sameModelType.GLM_4_LONG,ModelType.TOGETHER_LLAMA_4_MAVERICK,diff --git a/examples/models/role_playing_with_gemini.py b/examples/models/role_playing_with_gemini.pyindex 3eaac815e..9d11d0521 100644--- a/examples/models/role_playing_with_gemini.py+++ b/examples/models/role_playing_with_gemini.py@@ -101,4 +101,4 @@ def main(model_type=None) -> None:if __name__ == "__main__":- main(model_type=ModelType.GEMINI_1_5_FLASH)+ main(model_type=ModelType.GEMINI_2_0_FLASH)diff --git a/test/models/test_config_file/yaml_configs/gemini_1.5_flash_config.yaml b/test/models/test_config_file/yaml_configs/gemini_1.5_flash_config.yamldeleted file mode 100644index 813da7110..000000000--- a/test/models/test_config_file/yaml_configs/gemini_1.5_flash_config.yaml+++ /dev/null@@ -1,8 +0,0 @@-model_platform: GEMINI-model_type: GEMINI_1_5_FLASH-model_config_dict:- temperature: 0.6- max_tokens: 1024-token_counter: OpenAITokenCounter-api_key: test_key-url: nulldiff --git a/test/models/test_gemini_model.py b/test/models/test_gemini_model.pyindex 1a6a84e9d..a04c7299a 100644--- a/test/models/test_gemini_model.py+++ b/test/models/test_gemini_model.py@@ -26,8 +26,6 @@ from camel.utils import OpenAITokenCounter[ModelType.GEMINI_2_5_PRO,ModelType.GEMINI_2_0_FLASH,- ModelType.GEMINI_1_5_FLASH,- ModelType.GEMINI_1_5_PRO,ModelType.GEMINI_2_0_FLASH_THINKING,ModelType.GEMINI_2_0_FLASH_LITE_PREVIEW,ModelType.GEMINI_2_0_PRO_EXP,diff --git a/test/models/test_model_factory.py b/test/models/test_model_factory.pyindex a1c296816..b9aa8717e 100644--- a/test/models/test_model_factory.py+++ b/test/models/test_model_factory.py@@ -99,7 +99,7 @@ parameterize_token_counter = pytest.mark.parametrize(# Test GEMINI model(ModelPlatformType.GEMINI,- ModelType.GEMINI_1_5_FLASH,+ ModelType.GEMINI_2_0_FLASH,GeminiConfig().as_dict(),OpenAITokenCounter(ModelType.GPT_4O_MINI),OpenAITokenCounter,