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

fix: minor configuration update (#4057)

les_baguettes1d38051fb5cb
diff --git a/.env.example b/.env.example
index 4a1fbabe2..791faf70b 100644
--- a/.env.example
+++ b/.env.example
@@ -37,6 +37,13 @@
# Mistral API (https://mistral.ai/)
# MISTRAL_API_KEY="Fill your API key here"
+# MinMax API (https://www.minmax.ai/)
+# For international users
+# MINIMAX_API_BASE_URL=https://api.minimax.io/v1
+# For China users
+# MINIMAX_API_BASE_URL=https://api.minimaxi.io/v1
+# MINIMAX_API_KEY="Fill your API key here"
+
# Reka API (https://www.reka.ai/)
# REKA_API_KEY="Fill your API key here"
diff --git a/camel/types/enums.py b/camel/types/enums.py
index 48f243628..24314abc0 100644
--- a/camel/types/enums.py
+++ b/camel/types/enums.py
@@ -232,12 +232,12 @@ class ModelType(UnifiedModelType, Enum):
# Claude models
CLAUDE_3_7_SONNET = "claude-3-7-sonnet-latest"
CLAUDE_SONNET_4_5 = "claude-sonnet-4-5"
- CLAUDE_OPUS_4_5 = "claude-opus-4-5"
CLAUDE_SONNET_4 = "claude-sonnet-4-20250514"
CLAUDE_SONNET_4_6 = "claude-sonnet-4-6"
CLAUDE_HAIKU_4_5 = "claude-haiku-4-5"
CLAUDE_OPUS_4 = "claude-opus-4-20250514"
CLAUDE_OPUS_4_1 = "claude-opus-4-1-20250805"
+ CLAUDE_OPUS_4_5 = "claude-opus-4-5"
CLAUDE_OPUS_4_6 = "claude-opus-4-6"
CLAUDE_OPUS_4_7 = "claude-opus-4-7"
@@ -751,12 +751,14 @@ class ModelType(UnifiedModelType, Enum):
return self in {
ModelType.CLAUDE_3_7_SONNET,
ModelType.CLAUDE_SONNET_4_5,
- ModelType.CLAUDE_OPUS_4_5,
- ModelType.CLAUDE_OPUS_4_6,
+ ModelType.CLAUDE_SONNET_4_6,
ModelType.CLAUDE_SONNET_4,
ModelType.CLAUDE_HAIKU_4_5,
ModelType.CLAUDE_OPUS_4,
ModelType.CLAUDE_OPUS_4_1,
+ ModelType.CLAUDE_OPUS_4_5,
+ ModelType.CLAUDE_OPUS_4_6,
+ ModelType.CLAUDE_OPUS_4_7,
}
@property
diff --git a/examples/models/minimax_model_example.py b/examples/models/minimax_model_example.py
index 4a08ed56b..6d4acd107 100644
--- a/examples/models/minimax_model_example.py
+++ b/examples/models/minimax_model_example.py
@@ -20,6 +20,9 @@ from camel.types import ModelPlatformType, ModelType
model = ModelFactory.create(
model_platform=ModelPlatformType.MINIMAX,
model_type=ModelType.MINIMAX_M2,
+ # For users in China, please use
+ # https://api.minimaxi.com/v1 instead.
+ base_url="https://api.minimaxi.io/v1",
model_config_dict=MinimaxConfig(temperature=0.2).as_dict(),
)