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

enhance: Add AtlasCloud model integration PR3683 (#3717)

Wendong-Fan0ffcba2521d7
diff --git a/camel/types/enums.py b/camel/types/enums.py
index 6956b861c..01d23edf6 100644
--- a/camel/types/enums.py
+++ b/camel/types/enums.py
@@ -1161,6 +1161,14 @@ class ModelType(UnifiedModelType, Enum):
ModelType.AIML_MISTRAL_7B_INSTRUCT,
}
+ @property
+ def is_atlascloud(self) -> bool:
+ r"""Returns whether this type of models is served by AtlasCloud."""
+ return self in {
+ ModelType.ATLASCLOUD_GPT_OSS_120B,
+ ModelType.ATLASCLOUD_GLM_4_7,
+ }
+
@property
def token_limit(self) -> int:
r"""Returns the maximum token limit for a given model.