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

chore: add gpt 4o mini to azure openai ai (#1263)

Wendong-Fan78acbc75d505
diff --git a/camel/types/enums.py b/camel/types/enums.py
index 2fe68f9f7..7accc698e 100644
--- a/camel/types/enums.py
+++ b/camel/types/enums.py
@@ -165,6 +165,7 @@ class ModelType(UnifiedModelType, Enum):
ModelType.GPT_4,
ModelType.GPT_4_TURBO,
ModelType.GPT_4O,
+ ModelType.GPT_4O_MINI,
}
@property
diff --git a/test/models/test_azure_openai_model.py b/test/models/test_azure_openai_model.py
index 15d83d9fb..7e366f246 100644
--- a/test/models/test_azure_openai_model.py
+++ b/test/models/test_azure_openai_model.py
@@ -39,6 +39,7 @@ from camel.utils import OpenAITokenCounter
ModelType.GPT_4,
ModelType.GPT_4_TURBO,
ModelType.GPT_4O,
+ ModelType.GPT_4O_MINI,
],
)
def test_openai_model(model_type):
@@ -59,6 +60,7 @@ def test_openai_model(model_type):
ModelType.GPT_4,
ModelType.GPT_4_TURBO,
ModelType.GPT_4O,
+ ModelType.GPT_4O_MINI,
],
)
def test_openai_model_create(model_type: ModelType):