Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

feat:gemini-2.5-pro-preview-06-05 update (#2568)

Yifeng Wang(正经人王同学)8b71c57c0b03
diff --git a/camel/types/enums.py b/camel/types/enums.py
index f6171ddef..dbe40c3eb 100644
--- a/camel/types/enums.py
+++ b/camel/types/enums.py
@@ -185,7 +185,7 @@ class ModelType(UnifiedModelType, Enum):
# Gemini models
GEMINI_2_5_FLASH_PREVIEW = "gemini-2.5-flash-preview-04-17"
- GEMINI_2_5_PRO_PREVIEW = "gemini-2.5-pro-preview-05-06"
+ GEMINI_2_5_PRO_PREVIEW = "gemini-2.5-pro-preview-06-05"
GEMINI_2_0_FLASH = "gemini-2.0-flash"
GEMINI_2_0_FLASH_EXP = "gemini-2.0-flash-exp"
GEMINI_2_0_FLASH_THINKING = "gemini-2.0-flash-thinking-exp"
diff --git a/docs/key_modules/models.md b/docs/key_modules/models.md
index 35bfe88c5..417cdf85d 100644
--- a/docs/key_modules/models.md
+++ b/docs/key_modules/models.md
@@ -15,7 +15,7 @@ CAMEL supports a wide range of models, including [OpenAI’s GPT series](https:/
| **Mistral AI** | mistral-large-latest, pixtral-12b-2409, ministral-8b-latest, ministral-3b-latest, open-mistral-nemo, codestral-latest, open-mistral-7b, open-mixtral-8x7b, open-mixtral-8x22b, open-codestral-mamba |
| **Moonshot** | moonshot-v1-8k, moonshot-v1-32k, moonshot-v1-128k |
| **Anthropic** | claude-2.1, claude-2.0, claude-instant-1.2, claude-3-opus-latest, claude-3-sonnet-20240229, claude-3-haiku-20240307, claude-3-5-sonnet-latest, claude-3-5-haiku-latest |
-| **Gemini** | gemini-2.5-flash-preview-04-17, gemini-2.5-pro-preview-05-06, gemini-2.0-flash, gemini-2.0-flash-exp, gemini-2.0-flash-thinking-exp, gemini-2.0-pro-exp-02-05, gemini-2.0-flash-lite, gemini-2.0-flash-lite-preview-02-05, gemini-1.5-flash, gemini-1.5-pro |
+| **Gemini** | gemini-2.5-flash-preview-04-17, gemini-2.5-pro-preview-06-05, gemini-2.0-flash, gemini-2.0-flash-exp, gemini-2.0-flash-thinking-exp, gemini-2.0-pro-exp-02-05, gemini-2.0-flash-lite, gemini-2.0-flash-lite-preview-02-05, gemini-1.5-flash, gemini-1.5-pro |
| **Lingyiwanwu** | yi-lightning, yi-large, yi-medium, yi-large-turbo, yi-vision, yi-medium-200k, yi-spark, yi-large-rag, yi-large-fc |
| **Qwen** | qwq-32b-preview, qwen-max, qwen-plus, qwen-turbo, qwen-long, qwen-vl-max, qwen-vl-plus, qwen-math-plus, qwen-math-turbo, qwen-coder-turbo, qwen2.5-coder-32b-instruct, qwen2.5-72b-instruct, qwen2.5-32b-instruct, qwen2.5-14b-instruct |
| **DeepSeek** | deepseek-chat, deepseek-reasoner |
diff --git a/docs/mintlify/key_modules/models.mdx b/docs/mintlify/key_modules/models.mdx
index 34a8a2cba..c091987bb 100644
--- a/docs/mintlify/key_modules/models.mdx
+++ b/docs/mintlify/key_modules/models.mdx
@@ -19,7 +19,7 @@ CAMEL supports a wide range of models, including [OpenAI’s GPT series](https:/
| **Mistral AI** | mistral-large-latest, pixtral-12b-2409, ministral-8b-latest, ministral-3b-latest, open-mistral-nemo, codestral-latest, open-mistral-7b, open-mixtral-8x7b, open-mixtral-8x22b, open-codestral-mamba |
| **Moonshot** | moonshot-v1-8k, moonshot-v1-32k, moonshot-v1-128k |
| **Anthropic** | claude-2.1, claude-2.0, claude-instant-1.2, claude-3-opus-latest, claude-3-sonnet-20240229, claude-3-haiku-20240307, claude-3-5-sonnet-latest, claude-3-5-haiku-latest |
-| **Gemini** | gemini-2.5-flash-preview-04-17, gemini-2.5-pro-preview-05-06, gemini-2.0-flash, gemini-2.0-flash-exp, gemini-2.0-flash-thinking-exp, gemini-2.0-pro-exp-02-05, gemini-2.0-flash-lite, gemini-2.0-flash-lite-preview-02-05, gemini-1.5-flash, gemini-1.5-pro |
+| **Gemini** | gemini-2.5-flash-preview-04-17, gemini-2.5-pro-preview-06-05, gemini-2.0-flash, gemini-2.0-flash-exp, gemini-2.0-flash-thinking-exp, gemini-2.0-pro-exp-02-05, gemini-2.0-flash-lite, gemini-2.0-flash-lite-preview-02-05, gemini-1.5-flash, gemini-1.5-pro |
| **Lingyiwanwu** | yi-lightning, yi-large, yi-medium, yi-large-turbo, yi-vision, yi-medium-200k, yi-spark, yi-large-rag, yi-large-fc |
| **Qwen** | qwq-32b-preview, qwen-max, qwen-plus, qwen-turbo, qwen-long, qwen-vl-max, qwen-vl-plus, qwen-math-plus, qwen-math-turbo, qwen-coder-turbo, qwen2.5-coder-32b-instruct, qwen2.5-72b-instruct, qwen2.5-32b-instruct, qwen2.5-14b-instruct |
| **DeepSeek** | deepseek-chat, deepseek-reasoner |
diff --git a/examples/models/gemini_model_example.py b/examples/models/gemini_model_example.py
index 35f7ea556..c780225c7 100644
--- a/examples/models/gemini_model_example.py
+++ b/examples/models/gemini_model_example.py
@@ -25,7 +25,7 @@ user_msg = """Say hi to CAMEL AI, one open-source community dedicated to the
study of autonomous and communicative agents."""
-# Example of using the gemini-2.5-pro-preview-05-06 model
+# Example of using the gemini-2.5-pro-preview-06-05 model
model_2_5_pro_pre = ModelFactory.create(
model_platform=ModelPlatformType.GEMINI,
model_type=ModelType.GEMINI_2_5_PRO_PREVIEW,
@@ -37,13 +37,14 @@ print(response_pro.msgs[0].content)
'''
===============================================================================
-Hello CAMEL AI! 👋
+Hello and a big hi to the entire CAMEL AI community!
-A big, warm greeting to your fantastic open-source community!
-It's wonderful to hear about your dedication to
-the study of autonomous and communicative agents.
-That's a truly exciting and important field.
-Keep up the great work, and best of luck with all your endeavors!
+It's fantastic to acknowledge your dedication to
+the important and fascinating study of autonomous and communicative agents.
+Open-source collaboration is the engine of innovation,
+and your work is pushing the boundaries of what's possible in AI.
+
+Keep up the brilliant research and community building
===============================================================================
'''