Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions camel/types/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,6 @@ class ModelType(UnifiedModelType, Enum):
# Groq platform models
GROQ_LLAMA_3_1_8B = "llama-3.1-8b-instant"
GROQ_LLAMA_3_3_70B = "llama-3.3-70b-versatile"
GROQ_LLAMA_3_3_70B_PREVIEW = "llama-3.3-70b-specdec"
GROQ_LLAMA_3_8B = "llama3-8b-8192"
GROQ_LLAMA_3_70B = "llama3-70b-8192"
GROQ_MIXTRAL_8_7B = "mixtral-8x7b-32768"
GROQ_GEMMA_2_9B_IT = "gemma2-9b-it"

# Cerebras platform models
CEREBRAS_GPT_OSS_120B = "gpt-oss-120b"
Expand Down Expand Up @@ -702,11 +697,6 @@ def is_groq(self) -> bool:
return self in {
ModelType.GROQ_LLAMA_3_1_8B,
ModelType.GROQ_LLAMA_3_3_70B,
ModelType.GROQ_LLAMA_3_3_70B_PREVIEW,
ModelType.GROQ_LLAMA_3_8B,
ModelType.GROQ_LLAMA_3_70B,
ModelType.GROQ_MIXTRAL_8_7B,
ModelType.GROQ_GEMMA_2_9B_IT,
}

@property
Expand Down Expand Up @@ -1191,10 +1181,6 @@ def token_limit(self) -> int:
elif self in {
ModelType.CEREBRAS_LLAMA_3_1_8B,
ModelType.GPT_4,
ModelType.GROQ_LLAMA_3_8B,
ModelType.GROQ_LLAMA_3_70B,
ModelType.GROQ_LLAMA_3_3_70B_PREVIEW,
ModelType.GROQ_GEMMA_2_9B_IT,
ModelType.GLM_3_TURBO,
ModelType.GLM_4,
ModelType.QWEN_VL_PLUS,
Expand Down Expand Up @@ -1277,7 +1263,6 @@ def token_limit(self) -> int:
ModelType.MISTRAL_CODESTRAL,
ModelType.MISTRAL_7B,
ModelType.MISTRAL_MIXTRAL_8x7B,
ModelType.GROQ_MIXTRAL_8_7B,
ModelType.YI_LARGE,
ModelType.YI_LARGE_FC,
ModelType.QWEN_MAX,
Expand Down
4 changes: 2 additions & 2 deletions test/models/test_groq_llama3_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
@pytest.mark.parametrize(
"model_type",
[
ModelType.GROQ_LLAMA_3_8B,
ModelType.GROQ_LLAMA_3_70B,
ModelType.GROQ_LLAMA_3_1_8B,
ModelType.GROQ_LLAMA_3_3_70B,
],
)
def test_groq_llama3_model(model_type: ModelType):
Expand Down
Loading